Class PurgeLocalHistoryRequest
- java.lang.Object
-
- org.opendaylight.controller.cluster.access.concepts.Message<T,C>
-
- org.opendaylight.controller.cluster.access.concepts.Request<LocalHistoryIdentifier,T>
-
- org.opendaylight.controller.cluster.access.commands.LocalHistoryRequest<PurgeLocalHistoryRequest>
-
- org.opendaylight.controller.cluster.access.commands.PurgeLocalHistoryRequest
-
- All Implemented Interfaces:
Serializable
,Immutable
,MutationBehaviour<Immutable>
@Beta public final class PurgeLocalHistoryRequest extends LocalHistoryRequest<PurgeLocalHistoryRequest>
Request to purge a local history. This request is sent by the client once it receives a successful reply toDestroyLocalHistoryRequest
and indicates it has removed all state attached to a particular local history.- Author:
- Robert Varga
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PurgeLocalHistoryRequest(LocalHistoryIdentifier target, long sequence, akka.actor.ActorRef replyTo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PurgeLocalHistoryRequest
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.AbstractLocalHistoryRequestProxy<PurgeLocalHistoryRequest>
externalizableProxy(ABIVersion version)
-
Methods inherited from class org.opendaylight.controller.cluster.access.commands.LocalHistoryRequest
toRequestFailure
-
Methods inherited from class org.opendaylight.controller.cluster.access.concepts.Request
addToStringAttributes, getReplyTo
-
Methods inherited from class org.opendaylight.controller.cluster.access.concepts.Message
getSequence, getTarget, getVersion, toString, toVersion, writeReplace
-
-
-
-
Constructor Detail
-
PurgeLocalHistoryRequest
public PurgeLocalHistoryRequest(LocalHistoryIdentifier target, long sequence, akka.actor.ActorRef replyTo)
-
-
Method Detail
-
externalizableProxy
protected org.opendaylight.controller.cluster.access.commands.AbstractLocalHistoryRequestProxy<PurgeLocalHistoryRequest> externalizableProxy(ABIVersion version)
- Specified by:
externalizableProxy
in classLocalHistoryRequest<PurgeLocalHistoryRequest>
-
cloneAsVersion
protected PurgeLocalHistoryRequest cloneAsVersion(ABIVersion version)
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<LocalHistoryIdentifier,PurgeLocalHistoryRequest>
- Parameters:
version
- target ABI version- Returns:
- A message with the specified serialization stream
-
-