|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Cacheable
| Method Summary | |
|---|---|
Cacheable |
get(java.io.Serializable selector)
get a new object of this class. |
byte[] |
getData()
return the persistent part as a byte[] |
java.lang.String |
getPath()
return a path string to be used as a relative path to a file from the cache root directory, it must begin with a file separator character |
java.io.Serializable |
getSelector()
return an identifying object |
void |
setData(byte[] data)
set the persistent part |
| Method Detail |
|---|
java.lang.String getPath()
byte[] getData()
void setData(byte[] data)
data - the new data, this may be null when the selector part only is
maintained in internal store.java.io.Serializable getSelector()
Cacheable get(java.io.Serializable selector)
selector - sufficient details of the class to enable one to be selected or created
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||