public class ModificationsTransactionWorker extends Object implements com.sleepycat.collections.TransactionWorker
Modification
s to be performed atomically via TransactionRunner
.Constructor and Description |
---|
ModificationsTransactionWorker(CacheStore store,
List<? extends Modification> mods)
Associates
Modification s that will be applied to the supplied CacheStore |
Modifier and Type | Method and Description |
---|---|
void |
doWork()
This implementation iterates through a list of work represented by
Modification objects and
executes it against the CacheStore . Current commands supported are: STORE CLEAR
REMOVE PURGE_EXPIRED |
public ModificationsTransactionWorker(CacheStore store, List<? extends Modification> mods)
Modification
s that will be applied to the supplied CacheStore
store
- what to affectmods
- actions to takepublic void doWork() throws Exception
Modification
objects and
executes it against the CacheStore
. Current commands supported are: doWork
in interface com.sleepycat.collections.TransactionWorker
Exception
Copyright © 2017 JBoss, a division of Red Hat. All Rights Reserved.