org.glassfish.ha.store.spi
Interface Storable

All Known Subinterfaces:
MutableStoreEntry

public interface Storable

A 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
<T> T
_getAttributeValue(java.lang.String attrName, java.lang.Class<T> type)
           
 java.util.Set<java.lang.String> _getDirtyAttributeNames()
          An array of boolean indicating if the corresponding attribute is dirty (true) or not (false)
 java.lang.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

java.util.Set<java.lang.String> _getDirtyAttributeNames()
An array of boolean indicating if the corresponding attribute is dirty (true) or not (false)

Returns:

_getAttributeValue

<T> T _getAttributeValue(java.lang.String attrName,
                         java.lang.Class<T> type)

_getOwnerInstanceName

java.lang.String _getOwnerInstanceName()


Copyright © 2010. All Rights Reserved.