|
IBM WebSphereTM eXtreme Scale, Release 8.6 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<LogElement> |
getTransactionChanges(boolean includeRemoved,
OutputFormat keyOutputFormat,
OutputFormat valueOutputFormat)
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. |
List<LogElement> |
getTransactionChanges(List keys,
OutputFormat keyOutputFormat,
OutputFormat valueOutputFormat)
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. |
LogSequence |
getTransactionLogSequence(OutputFormat keyOutputFormat,
OutputFormat valueOutputFormat)
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.
This method provides the same results as getTransactionChanges(boolean, OutputFormat, OutputFormat)
using OutputFormat.UNDEFINED
.
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<LogElement> getTransactionChanges(boolean includeRemoved, OutputFormat keyOutputFormat, OutputFormat valueOutputFormat)
getMap()
method.The OutputFormat specifies the data format to be returned by each LogElement.
includeRemoved
- must be set to true
to include
LogElement.DELETE
types in the list returned by this method.keyOutputFormat
- identifies the data format to be returned each of the LogElement keys.valueOutputFormat
- identifies the data format to be returned each of the LogElement values.
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.
This method provides the same results as getTransactionChanges(List, OutputFormat, OutputFormat)
using OutputFormat.UNDEFINED
.
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
List<LogElement> getTransactionChanges(List keys, OutputFormat keyOutputFormat, OutputFormat valueOutputFormat)
getMap()
method. If a key has not been referenced
in the transaction then null
is returned.The OutputFormat specifies the data format to be returned by each LogElement.
keys
- The list of keys for which the data is required.keyOutputFormat
- identifies the data format to be returned each of the LogElement keys.valueOutputFormat
- identifies the data format to be returned each of the LogElement values.
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
LogSequence getTransactionLogSequence(OutputFormat keyOutputFormat, OutputFormat valueOutputFormat)
getMap()
method. The OutputFormat specifies the data format to be returned by each LogElement.
keyOutputFormat
- identifies the data format to be returned each of the LogElement keys.valueOutputFormat
- identifies the data format to be returned each of the LogElement values.
ObjectGridRuntimeException
- if an error occurs during processinggetMap()
,
LogElement.DELETE
|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |