FileDocCategorySizeDatePackage
BatchMetadata.javaAPI DocGlassfish v2 API3505Fri May 04 22:35:28 BST 2007com.sun.appserv.ha.spi

BatchMetadata

public final class BatchMetadata extends SimpleMetadata
A class that holds additional metadata than a SimpleMetaData
see
BatchBackingStore

Fields Summary
private String
appId
private String
id
Constructors Summary
public BatchMetadata(String appId, String id, long version, long lastAccessTime, long maxInactiveInterval, byte[] data, String extraData)
Construct a Metadata object

param
version The version of the data. A freshly created state has a version == 0
param
lastAccessTime the last access time of the state. This must be used in conjunction with getMaxInactiveInterval to determine if the state is idle enough to be removed.
param
maxInactiveInterval the maximum time that this state can be idle in the store before it can be removed.
param
data The data
param
extraData Some more data

        super(version, lastAccessTime, maxInactiveInterval, data, extraData);
        this.appId = appId;
        this.id = id;
    
Methods Summary
public java.lang.StringgetAppId()
Return the application id

return
the application id
see
BackingStoreFactory

        return appId;
    
public java.lang.StringgetId()
Return the id of the metaData

return
the id of the metaData

        return id;