Class ExistsTransactionSuccess
java.lang.Object
org.opendaylight.controller.cluster.access.concepts.Message<T,C>
org.opendaylight.controller.cluster.access.concepts.Response<T,C>
org.opendaylight.controller.cluster.access.concepts.RequestSuccess<TransactionIdentifier,T>
org.opendaylight.controller.cluster.access.commands.TransactionSuccess<ExistsTransactionSuccess>
org.opendaylight.controller.cluster.access.commands.ExistsTransactionSuccess
- All Implemented Interfaces:
Serializable
,Immutable
@Beta
public final class ExistsTransactionSuccess
extends TransactionSuccess<ExistsTransactionSuccess>
Successful reply to an
ExistsTransactionRequest
. It indicates presence of requested data via
getExists()
.- Author:
- Robert Varga
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionExistsTransactionSuccess
(TransactionIdentifier target, long sequence, boolean exists) -
Method Summary
Modifier and TypeMethodDescriptionprotected MoreObjects.ToStringHelper
addToStringAttributes
(MoreObjects.ToStringHelper toStringHelper) Add attributes to the output ofMessage.toString()
.protected ExistsTransactionSuccess
cloneAsVersion
(ABIVersion version) Create a copy of this message which will serialize to a stream corresponding to the specified method.protected org.opendaylight.controller.cluster.access.commands.ExistsTransactionSuccessProxyV1
externalizableProxy
(ABIVersion version) boolean
Methods inherited from class org.opendaylight.controller.cluster.access.concepts.Message
getSequence, getTarget, getVersion, toString, toVersion, writeReplace
-
Constructor Details
-
ExistsTransactionSuccess
-
-
Method Details
-
getExists
public boolean getExists() -
externalizableProxy
protected org.opendaylight.controller.cluster.access.commands.ExistsTransactionSuccessProxyV1 externalizableProxy(ABIVersion version) - Specified by:
externalizableProxy
in classTransactionSuccess<ExistsTransactionSuccess>
-
cloneAsVersion
Description copied from class:Message
Create a copy of this message which will serialize to a stream corresponding to the specified method. This method should be implemented by the concrete final message class and should invoke the equivalent ofMessage(Message, ABIVersion)
.- Specified by:
cloneAsVersion
in classMessage<TransactionIdentifier,
ExistsTransactionSuccess> - Parameters:
version
- target ABI version- Returns:
- A message with the specified serialization stream
-
addToStringAttributes
protected MoreObjects.ToStringHelper addToStringAttributes(MoreObjects.ToStringHelper toStringHelper) Description copied from class:Message
Add attributes to the output ofMessage.toString()
. Subclasses wanting to contribute additional information should override this method. Any null attributes will be omitted from the output.- Overrides:
addToStringAttributes
in classMessage<TransactionIdentifier,
ExistsTransactionSuccess> - Parameters:
toStringHelper
- aMoreObjects.ToStringHelper
instance- Returns:
- The
MoreObjects.ToStringHelper
passed in as argument
-