public class ValuesCommand extends AbstractLocalCommand implements VisitableCommand
Map.values()
functionality.Modifier and Type | Class and Description |
---|---|
static class |
ValuesCommand.ExpiredFilteredValues |
flags
Constructor and Description |
---|
ValuesCommand(DataContainer container,
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.
|
Collection<Object> |
perform(InvocationContext ctx)
Performs the primary function of the command.
|
String |
toString() |
canBlock, getCommandId, getParameters, ignoreCommandOnStatus, isReturnValueExpected, noTxModifications, setParameters, shouldInvoke
getFlags, hasFlag, setFlags, setFlags
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
ignoreCommandOnStatus, shouldInvoke
canBlock, getCommandId, getParameters, isReturnValueExpected, setParameters
public ValuesCommand(DataContainer container, TimeService timeService, Set<Flag> flags)
public Object acceptVisitor(InvocationContext ctx, Visitor visitor) throws Throwable
VisitableCommand
acceptVisitor
in interface VisitableCommand
ctx
- invocation contextvisitor
- visitor to acceptThrowable
- in the event of problemspublic Collection<Object> perform(InvocationContext ctx) throws Throwable
ReplicableCommand
perform
in interface ReplicableCommand
ctx
- invocation contextThrowable
- in the event of problems.Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.