|
IBM WebSphereTM eXtreme Scale, Release 8.5 API Specification |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MapIndexInfo
This interface is used to provide an index with detailed change information for a specific Map in a transaction.
MapIndexPlugin.getIndexProxy(MapIndexInfo)
Method Summary | |
---|---|
BackingMap |
getBackingMap()
Returns the BackingMap the index is associated with. |
ObjectMap |
getMap()
Returns the ObjectMap the index is associated with. |
List |
getTransactionChanges(boolean includeRemoved)
Returns the set of all changes made by the current transaction to the ObjectMap that is returned by the getMap() method. |
List |
getTransactionChanges(List keys)
Returns the set of changes as they apply to a particular set of keys in the current transaction for the ObjectMap that is returned by the getMap() method. |
LogSequence |
getTransactionLogSequence()
Returns the set of all changes made by the current transaction to the ObjectMap that is returned by the getMap() method. |
Method Detail |
---|
ObjectMap getMap()
ObjectMap
the index is associated with.
ObjectMap
List getTransactionChanges(boolean includeRemoved) throws ObjectGridRuntimeException
getMap()
method.
includeRemoved
- must be set to true
to include
LogElement.DELETE
types in the list returned by this method.
List
of LogElement
s created for each
ObjectMap entry that was either inserted, updated, or removed by
the current transaction.
ObjectGridRuntimeException
- if an error occurs during processinggetMap()
,
LogElement.DELETE
List getTransactionChanges(List keys) throws ObjectGridRuntimeException
getMap()
method. If a key has not been referenced
in the transaction then null
is returned.
keys
- The list of keys for which the data is required.
List
of LogElement
s corresponding to
the keys specified. A null
entry in the list
indicates the key was not referenced.
ObjectGridRuntimeException
- if an error occurs during processinggetMap()
,
LogElement
,
ObjectMap
BackingMap getBackingMap()
BackingMap
the index is associated with.
BackingMap
LogSequence getTransactionLogSequence() throws ObjectGridRuntimeException
getMap()
method.
ObjectGridRuntimeException
- if an error occurs during processinggetMap()
,
LogElement.DELETE
|
IBM WebSphereTM eXtreme Scale, Release 8.5 API Specification |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |