Class PrepareResponse
java.lang.Object
org.infinispan.remoting.responses.PrepareResponse
- All Implemented Interfaces:
Response,ValidResponse<Void>
A
ValidResponse used by Optimistic Transactions.
It contains the new IncrementableEntryVersion for each key updated.
To be extended in the future.
- Since:
- 11.0
- Author:
- Pedro Ruivo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PrepareResponsegetIracMetadata(int segment) voidmerge(PrepareResponse remote) mergeEntryVersions(Map<Object, IncrementableEntryVersion> entryVersions) voidsetNewIracMetadata(Map<Integer, IracMetadata> map) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.infinispan.remoting.responses.ValidResponse
isSuccessful, isValid
-
Constructor Details
-
PrepareResponse
public PrepareResponse()
-
-
Method Details
-
asPrepareResponse
-
getResponseValue
- Specified by:
getResponseValuein interfaceValidResponse<Void>
-
toString
-
getIracMetadata
-
setNewIracMetadata
-
merge
-
mergeEntryVersions
public Map<Object, IncrementableEntryVersion> mergeEntryVersions(Map<Object, IncrementableEntryVersion> entryVersions)
-