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 org.infinispan.xsite.commands.remote.XSiteCacheRequest
cacheName
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte
Used 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()
void
writeTo
(ObjectOutput output) Writes this instance to theObjectOutput
.Methods inherited from class org.infinispan.xsite.commands.remote.XSiteCacheRequest
invokeInLocalSite
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.infinispan.commands.TracedCommand
getOperationName, getSpanAttributes, setSpanAttributes
-
Constructor Details
-
IracTombstoneCheckRequest
public IracTombstoneCheckRequest() -
IracTombstoneCheckRequest
-
-
Method Details
-
invokeInLocalCache
- Specified by:
invokeInLocalCache
in classXSiteCacheRequest<IntSet>
-
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<IntSet>
- Overrides:
writeTo
in classXSiteCacheRequest<IntSet>
- 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<IntSet>
- Overrides:
readFrom
in 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
-