|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
K
- the type of keys maintained by this cacheV
- the type of cached valuesT
- the type of the return valuepublic interface BackupAwareEntryProcessor<K,V,T>
An invocable function that allows applications to perform compound operations
on a Cache.Entry
atomically, according the defined
consistency of a Cache
.
In difference to the normal EntryProcessor
implementations where a backup is done using sending the complete changed resulting
object to the backup-partition, implementations of this sub-interface can create
an additional EntryProcessor
instances that are send
to the backup-partitions to apply logic which is either different from the owner
partition (e.g. not sending emails) or in the simple case similar to the main
operations. In the later case createBackupEntryProcessor()
can also return
this.
EntryProcessor
Method Summary | |
---|---|
javax.cache.processor.EntryProcessor<K,V,T> |
createBackupEntryProcessor()
Either creates a new, specialized EntryProcessor
to be executed on the backup-partition or returns |
Methods inherited from interface javax.cache.processor.EntryProcessor |
---|
process |
Method Detail |
---|
javax.cache.processor.EntryProcessor<K,V,T> createBackupEntryProcessor()
EntryProcessor
to be executed on the backup-partition or returns thisto execute the same processor remotely.
If null is returned the value is backed up using the normal value backup mechanism, non exception is thrown and the update is applied as expected.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |