Class IracTombstoneCheckRequest
java.lang.Object
org.infinispan.xsite.commands.remote.XSiteCacheRequest<IntSet>
org.infinispan.xsite.commands.remote.IracTombstoneCheckRequest
- All Implemented Interfaces:
TracedCommand, XSiteRequest<IntSet>
A
XSiteCacheRequest to check tombstones for IRAC algorithm.
Periodically, the primary owner sends this command to the remote sites where they check if the tombstone for this key is still necessary.
- Since:
- 15.0
-
Field Summary
Fields inherited from class XSiteCacheRequest
cacheName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyteUsed by marshallers to convert this command into an id for streaming.protected CompletionStage<IntSet> invokeInLocalCache(String origin, ComponentRegistry registry) readFrom(ObjectInput input) Reads this instance from the stream written byXSiteRequest.writeTo(ObjectOutput).toString()voidwriteTo(ObjectOutput output) Writes this instance to theObjectOutput.Methods inherited from class XSiteCacheRequest
invokeInLocalSiteMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface TracedCommand
getOperationName, getSpanAttributes, setSpanAttributes
-
Constructor Details
-
IracTombstoneCheckRequest
public IracTombstoneCheckRequest() -
IracTombstoneCheckRequest
-
-
Method Details
-
invokeInLocalCache
- Specified by:
invokeInLocalCachein classXSiteCacheRequest<IntSet>
-
getCommandId
public byte getCommandId()Description copied from interface:XSiteRequestUsed by marshallers to convert this command into an id for streaming.- Returns:
- the method id of this command.
-
writeTo
Description copied from interface:XSiteRequestWrites this instance to theObjectOutput.- Specified by:
writeToin interfaceXSiteRequest<IntSet>- Overrides:
writeToin classXSiteCacheRequest<IntSet>- Parameters:
output- the stream.- Throws:
IOException- if an error occurred during the I/O.
-
readFrom
Description copied from interface:XSiteRequestReads this instance from the stream written byXSiteRequest.writeTo(ObjectOutput).- Specified by:
readFromin interfaceXSiteRequest<IntSet>- Overrides:
readFromin classXSiteCacheRequest<IntSet>- 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.
-
toString
-