public class SpaceReplicationEntryLeaseEventHandler extends Object implements IReplicationInEntryLeaseCancelledHandler, IReplicationInEntryLeaseExtendedHandler, IReplicationInEntryLeaseExpiredHandler
Modifier and Type | Field and Description |
---|---|
protected SpaceEngine |
_engine |
Constructor and Description |
---|
SpaceReplicationEntryLeaseEventHandler(SpaceEngine engine) |
Modifier and Type | Method and Description |
---|---|
protected LeaseManager |
getLeaseManager() |
void |
inCancelEntryLease(IReplicationInContext context,
IEntryPacket entryPacket) |
void |
inCancelEntryLeaseByUID(IReplicationInContext context,
String typeName,
String uid,
boolean isTransient,
int routingValue) |
void |
inEntryLeaseExpired(IReplicationInContext context,
IEntryPacket entryPacket) |
void |
inEntryLeaseExpiredByUID(IReplicationInContext context,
String typeName,
String uid,
boolean isTransient,
OperationID operationID) |
void |
inExtendEntryLeasePeriod(IReplicationInContext context,
String typeName,
String uid,
boolean isTransient,
long lease,
int routingValue) |
protected final SpaceEngine _engine
public SpaceReplicationEntryLeaseEventHandler(SpaceEngine engine)
protected LeaseManager getLeaseManager()
public void inCancelEntryLeaseByUID(IReplicationInContext context, String typeName, String uid, boolean isTransient, int routingValue)
inCancelEntryLeaseByUID
in interface IReplicationInEntryLeaseCancelledHandler
public void inCancelEntryLease(IReplicationInContext context, IEntryPacket entryPacket)
inCancelEntryLease
in interface IReplicationInEntryLeaseCancelledHandler
public void inExtendEntryLeasePeriod(IReplicationInContext context, String typeName, String uid, boolean isTransient, long lease, int routingValue) throws UnknownLeaseException
inExtendEntryLeasePeriod
in interface IReplicationInEntryLeaseExtendedHandler
UnknownLeaseException
public void inEntryLeaseExpiredByUID(IReplicationInContext context, String typeName, String uid, boolean isTransient, OperationID operationID)
inEntryLeaseExpiredByUID
in interface IReplicationInEntryLeaseExpiredHandler
public void inEntryLeaseExpired(IReplicationInContext context, IEntryPacket entryPacket)
inEntryLeaseExpired
in interface IReplicationInEntryLeaseExpiredHandler
Copyright © GigaSpaces.