public class EntrySetCommand extends AbstractLocalCommand implements VisitableCommand
Map.entrySet() functionality.flags| Constructor and Description |
|---|
EntrySetCommand(DataContainer container,
InternalEntryFactory internalEntryFactory,
TimeService timeService,
Set<Flag> flags) |
| Modifier and Type | Method and Description |
|---|---|
Object |
acceptVisitor(InvocationContext ctx,
Visitor visitor)
Accept a visitor, and return the result of accepting this visitor.
|
static Set<InternalCacheEntry> |
createFilteredEntrySet(Set<InternalCacheEntry> entries,
InvocationContext ctx,
TimeService timeService,
InternalEntryFactory entryFactory) |
Set<InternalCacheEntry> |
perform(InvocationContext ctx)
Performs the primary function of the command.
|
String |
toString() |
canBlock, getCommandId, getParameters, ignoreCommandOnStatus, isReturnValueExpected, noTxModifications, setParameters, shouldInvokegetFlags, hasFlag, setFlags, setFlagsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitignoreCommandOnStatus, shouldInvokecanBlock, getCommandId, getParameters, isReturnValueExpected, setParameterspublic EntrySetCommand(DataContainer container, InternalEntryFactory internalEntryFactory, TimeService timeService, Set<Flag> flags)
public Object acceptVisitor(InvocationContext ctx, Visitor visitor) throws Throwable
VisitableCommandacceptVisitor in interface VisitableCommandctx - invocation contextvisitor - visitor to acceptThrowable - in the event of problemspublic Set<InternalCacheEntry> perform(InvocationContext ctx) throws Throwable
ReplicableCommandperform in interface ReplicableCommandctx - invocation contextThrowable - in the event of problems.public static Set<InternalCacheEntry> createFilteredEntrySet(Set<InternalCacheEntry> entries, InvocationContext ctx, TimeService timeService, InternalEntryFactory entryFactory)
Copyright © 2014 JBoss, a division of Red Hat. All rights reserved.