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(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:

_getAttributeValue

<T> T _getAttributeValue(String attrName,
                         Class<T> type)

_getOwnerInstanceName

String _getOwnerInstanceName()


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.