public final class PassivationRecord extends PassivationDigest implements java.io.Serializable
CustomPassivationMechanism.save(PassivationRecord)
. The various
members of this object can be written to a backing store in whatever manner is most sensible, but must be able to be reconstructed on
CustomPassivationMechanism.load(PassivationKey)
. Two PassivationRecord
s are considered equal when their PassivationKey
s are equal. Implementers of
CustomPassivationMechanism
are free to serialize instances of this class, but must pay careful attention to the serialVersionUID
if using Java Serialization.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
static long |
serialVersionUID |
static java.lang.String |
VERSION |
Constructor and Description |
---|
PassivationRecord() |
PassivationRecord(PassivationKey aKey,
PassivationMetadata aMetadata,
java.io.Serializable aPayload)
Create a new record with the given key, metadata, and payload which will consist of PRPC objects and should be directly serialized using
ObjectOutputStream . |
Modifier and Type | Method and Description |
---|---|
java.io.Serializable |
getPayload() |
equals, getKey, getMetadata, hashCode
public static final java.lang.String VERSION
public static final java.lang.String COPYRIGHT
public static final long serialVersionUID
public PassivationRecord(PassivationKey aKey, PassivationMetadata aMetadata, java.io.Serializable aPayload)
ObjectOutputStream
.aKey
- aMetadata
- aPayload
- public PassivationRecord()
Copyright © 2014 Pegasystems Inc. All Rights Reserved.