Class IracTouchKeyRequest
java.lang.Object
org.infinispan.xsite.commands.remote.XSiteCacheRequest<T>
org.infinispan.xsite.commands.remote.IracUpdateKeyRequest<Boolean>
org.infinispan.xsite.commands.remote.IracTouchKeyRequest
- All Implemented Interfaces:
XSiteRequest<Boolean>
A request that is sent to the remote site by
IracManager
.- Since:
- 15.0
- Author:
- William Burns
-
Field Summary
Fields inherited from class org.infinispan.xsite.commands.remote.XSiteCacheRequest
cacheName
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionexecuteOperation
(org.infinispan.xsite.BackupReceiver receiver) byte
Used by marshallers to convert this command into an id for streaming.readFrom
(ObjectInput input) Reads this instance from the stream written byXSiteRequest.writeTo(ObjectOutput)
.void
writeTo
(ObjectOutput output) Writes this instance to theObjectOutput
.Methods inherited from class org.infinispan.xsite.commands.remote.IracUpdateKeyRequest
invokeInLocalCache
Methods inherited from class org.infinispan.xsite.commands.remote.XSiteCacheRequest
invokeInLocalSite
-
Constructor Details
-
IracTouchKeyRequest
public IracTouchKeyRequest() -
IracTouchKeyRequest
-
-
Method Details
-
executeOperation
- Specified by:
executeOperation
in classIracUpdateKeyRequest<Boolean>
-
getCommandId
public byte getCommandId()Description copied from interface:XSiteRequest
Used by marshallers to convert this command into an id for streaming.- Returns:
- the method id of this command.
-
writeTo
Description copied from interface:XSiteRequest
Writes this instance to theObjectOutput
.- Specified by:
writeTo
in interfaceXSiteRequest<Boolean>
- Overrides:
writeTo
in classXSiteCacheRequest<Boolean>
- Parameters:
output
- the stream.- Throws:
IOException
- if an error occurred during the I/O.
-
readFrom
Description copied from interface:XSiteRequest
Reads this instance from the stream written byXSiteRequest.writeTo(ObjectOutput)
.- Specified by:
readFrom
in interfaceXSiteRequest<Boolean>
- Overrides:
readFrom
in classXSiteCacheRequest<Boolean>
- Parameters:
input
- the stream to read.- Throws:
IOException
- if an error occurred during the I/O.ClassNotFoundException
- if it tries to load an undefined class.
-