public class PassivationMetadata
extends java.lang.Object
implements java.io.Serializable
PassivationRecord
that is used during reporting. These values are separated out from the PassivationRecord
objects so that
reporting can be performed without reading the (potentially large) object data serialized in a full PassivationRecord
object. 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 int |
NEVER_EXPIRE |
static long |
serialVersionUID |
static java.lang.String |
VERSION |
Constructor and Description |
---|
PassivationMetadata() |
PassivationMetadata(java.lang.String aSystemId,
java.lang.String aOperatorId,
java.util.Date aCreateDateTime,
int aExpirationTimeoutInSeconds,
java.lang.String aDescription)
Create a new passivation metadata object.
|
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getCreateDateTime() |
java.lang.String |
getDescription() |
long |
getExpirationTime() |
long |
getExpirationTimeoutInSeconds() |
java.lang.String |
getOperatorId() |
java.lang.String |
getSystemId() |
public static final java.lang.String VERSION
public static final java.lang.String COPYRIGHT
public static final long serialVersionUID
public static final int NEVER_EXPIRE
public PassivationMetadata(java.lang.String aSystemId, java.lang.String aOperatorId, java.util.Date aCreateDateTime, int aExpirationTimeoutInSeconds, java.lang.String aDescription)
aSystemId
- The system that owns the associated PassivationRecord
.aOperatorId
- The operator id that owns the record.aCreateDateTime
- The time that the record was created.aExpirationTimeoutInSeconds
- The number of seconds the associated record should be kept in a backing store. This time is in seconds and is relative to the creation time.aDescription
- A description of the record.public PassivationMetadata()
public java.lang.String getOperatorId()
public java.util.Date getCreateDateTime()
public long getExpirationTimeoutInSeconds()
public java.lang.String getDescription()
public java.lang.String getSystemId()
public long getExpirationTime()
Copyright © 2018 Pegasystems Inc. All Rights Reserved.