Package org.glassfish.ha.store.spi
Interface Storable
-
- All Known Subinterfaces:
MutableStoreEntry
public interface StorableA Storeable is an interface that must be implemented by objects that are to be presisted in the store.- Author:
- Mahesh.Kannan@Sun.Com
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> T_getAttributeValue(String attrName, Class<T> type)Set<String>_getDirtyAttributeNames()An array of boolean indicating if the corresponding attribute is dirty (true) or not (false)String_getOwnerInstanceName()long_getVersion()Get the version of this entry.
-
-
-
Method Detail
-
_getVersion
long _getVersion()
Get the version of this entry. -1 means that this entry has no version- Returns:
- The version or null if this entry has no version
-
_getDirtyAttributeNames
Set<String> _getDirtyAttributeNames()
An array of boolean indicating if the corresponding attribute is dirty (true) or not (false)- Returns:
-
_getOwnerInstanceName
String _getOwnerInstanceName()
-
-