org.jgroups.service.lease
Class LeaseInfoReplicationHeader
- Cloneable, Externalizable
public class LeaseInfoReplicationHeader
CANCEL_LEASE_TYPE
public static final int CANCEL_LEASE_TYPE
HEADER_KEY
public static final String HEADER_KEY
NEW_LEASE_TYPE
public static final int NEW_LEASE_TYPE
NONE
public static final int NONE
RENEW_LEASE_TYPE
public static final int RENEW_LEASE_TYPE
LeaseInfoReplicationHeader
public LeaseInfoReplicationHeader()
Construct uninitialized instance of this object.
LeaseInfoReplicationHeader
public LeaseInfoReplicationHeader(int headerType,
LeaseFactoryService.LeaseInfo leaseInfo)
Create instance of this object for a specified lease info object.
getType
public int getType()
Get header type.
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
Read state of this object from ObjectInput
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
Write state of this header into ObjectOutput
.
Copyright B) 2001,2002 www.jgroups.com . All Rights Reserved.