|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jgroups.Header
org.jgroups.service.lease.LeaseInfoReplicationHeader
Field Summary | |
static int |
CANCEL_LEASE_TYPE
|
static java.lang.String |
HEADER_KEY
|
static int |
NEW_LEASE_TYPE
|
static int |
NONE
|
static int |
RENEW_LEASE_TYPE
|
Fields inherited from class org.jgroups.Header |
HDR_OVERHEAD |
Constructor Summary | |
LeaseInfoReplicationHeader()
Construct uninitialized instance of this object. |
|
LeaseInfoReplicationHeader(int headerType,
LeaseFactoryService.LeaseInfo leaseInfo)
Create instance of this object for a specified lease info object. |
Method Summary | |
LeaseFactoryService.LeaseInfo |
getLeaseInfo()
Get lease info from this header. |
int |
getType()
Get header type. |
void |
readExternal(java.io.ObjectInput in)
Read state of this object from ObjectInput |
void |
writeExternal(java.io.ObjectOutput out)
Write state of this header into ObjectOutput . |
Methods inherited from class org.jgroups.Header |
size, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String HEADER_KEY
public static final int NONE
public static final int NEW_LEASE_TYPE
public static final int RENEW_LEASE_TYPE
public static final int CANCEL_LEASE_TYPE
Constructor Detail |
public LeaseInfoReplicationHeader()
public LeaseInfoReplicationHeader(int headerType, LeaseFactoryService.LeaseInfo leaseInfo)
Method Detail |
public int getType()
public LeaseFactoryService.LeaseInfo getLeaseInfo()
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
ObjectInput
java.io.IOException
java.lang.ClassNotFoundException
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
ObjectOutput
.
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |