public abstract class LocalFlagAffectedRpcCommand extends BaseRpcCommand implements LocalFlagAffectedCommand
| Modifier and Type | Field and Description |
|---|---|
protected Set<Flag> |
flags |
cacheName| Modifier | Constructor and Description |
|---|---|
protected |
LocalFlagAffectedRpcCommand(String cacheName,
Set<Flag> flags) |
| Modifier and Type | Method and Description |
|---|---|
Set<Flag> |
getFlags() |
boolean |
hasFlag(Flag flag)
Check whether a particular flag is present in the command
|
void |
setFlags(Set<Flag> flags)
Set the flags, replacing any existing flags.
|
canBlock, getCacheName, getOrigin, setOrigin, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddFlag, addFlags, setFlagsgetCommandId, getParameters, isReturnValueExpected, perform, readFrom, setParameters, writeTopublic Set<Flag> getFlags()
getFlags in interface LocalFlagAffectedCommandLocalFlagAffectedCommand.setFlags(java.util.Set). The set should
not be modified directly, only via the LocalFlagAffectedCommand.setFlags(Set), LocalFlagAffectedCommand.addFlag(Flag) and LocalFlagAffectedCommand.addFlags(Set) methods.public void setFlags(Set<Flag> flags)
LocalFlagAffectedCommandsetFlags in interface LocalFlagAffectedCommandflags - The new flags.public boolean hasFlag(Flag flag)
LocalFlagAffectedCommandhasFlag in interface LocalFlagAffectedCommandflag - to lookup in the commandCopyright © 2024 JBoss, a division of Red Hat. All rights reserved.