|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.ejb3.cache.impl.FileObjectStore<T>
public class FileObjectStore<T extends Identifiable>
Stores objects in a directory via serialization.
| Constructor Summary | |
|---|---|
FileObjectStore()
|
|
| Method Summary | |
|---|---|
protected java.io.File |
getFile(java.lang.Object key)
|
T |
load(java.lang.Object key)
Load the object from storage. |
void |
setStorageDirectory(java.lang.String dirName)
|
void |
start()
|
void |
stop()
|
void |
store(T obj)
Store the object into storage. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileObjectStore()
| Method Detail |
|---|
protected java.io.File getFile(java.lang.Object key)
public T load(java.lang.Object key)
ObjectStore
load in interface ObjectStore<T extends Identifiable>key - the object identifier
public void setStorageDirectory(java.lang.String dirName)
public void start()
public void stop()
public void store(T obj)
ObjectStore
store in interface ObjectStore<T extends Identifiable>obj - the object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||