Package org.infinispan.cli.commands.rest
Class Site.SetStateTransferMode
- java.lang.Object
-
- org.infinispan.cli.commands.CliCommand
-
- org.infinispan.cli.commands.rest.Site.SetStateTransferMode
-
- All Implemented Interfaces:
org.aesh.command.Command<ContextAwareCommandInvocation>,CacheAwareCommand
- Enclosing class:
- Site
public static class Site.SetStateTransferMode extends CliCommand implements CacheAwareCommand
-
-
Constructor Summary
Constructors Constructor Description SetStateTransferMode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.aesh.command.CommandResultexec(ContextAwareCommandInvocation invocation)protected CompletionStage<org.infinispan.client.rest.RestResponse>exec(ContextAwareCommandInvocation invocation, org.infinispan.client.rest.RestClient client, Resource resource)Optional<String>getCacheName(Resource activeResource)Connection.ResponseModegetResponseMode()booleanisHelp()-
Methods inherited from class org.infinispan.cli.commands.CliCommand
execute, nesting
-
-
-
-
Field Detail
-
help
protected boolean help
-
mode
protected String mode
-
-
Method Detail
-
isHelp
public boolean isHelp()
- Specified by:
isHelpin classCliCommand
-
exec
protected CompletionStage<org.infinispan.client.rest.RestResponse> exec(ContextAwareCommandInvocation invocation, org.infinispan.client.rest.RestClient client, Resource resource)
-
getCacheName
public Optional<String> getCacheName(Resource activeResource)
- Specified by:
getCacheNamein interfaceCacheAwareCommand
-
exec
protected final org.aesh.command.CommandResult exec(ContextAwareCommandInvocation invocation) throws org.aesh.command.CommandException
- Specified by:
execin classCliCommand- Throws:
org.aesh.command.CommandException
-
getResponseMode
public Connection.ResponseMode getResponseMode()
-
-