public class SpaceReplicationTemplateEventHandler extends Object implements IReplicationInNotifyTemplateCreatedHandler, IReplicationInNotifyTemplateRemovedHandler, IReplicationInNotifyTemplateLeaseExtendedHandler, IReplicationInNotifyTemplateLeaseExpiredHandler
Constructor and Description |
---|
SpaceReplicationTemplateEventHandler(SpaceEngine engine) |
Modifier and Type | Method and Description |
---|---|
void |
inExtendNotifyTemplateLeasePeriod(IReplicationInContext context,
String typeName,
String uid,
long lease) |
void |
inInsertNotifyTemplate(IReplicationInContext context,
ITemplatePacket template,
String templateUid,
NotifyInfo notifyInfo) |
void |
inNotifyTemplateLeaseExpired(IReplicationInContext context,
String className,
String uid,
OperationID operationID) |
void |
inRemoveNotifyTemplate(IReplicationInContext context,
String typeName,
String uid) |
public SpaceReplicationTemplateEventHandler(SpaceEngine engine)
public void inInsertNotifyTemplate(IReplicationInContext context, ITemplatePacket template, String templateUid, NotifyInfo notifyInfo) throws Exception
inInsertNotifyTemplate
in interface IReplicationInNotifyTemplateCreatedHandler
Exception
public void inRemoveNotifyTemplate(IReplicationInContext context, String typeName, String uid)
inRemoveNotifyTemplate
in interface IReplicationInNotifyTemplateRemovedHandler
public void inExtendNotifyTemplateLeasePeriod(IReplicationInContext context, String typeName, String uid, long lease) throws UnknownLeaseException, InternalSpaceException
inExtendNotifyTemplateLeasePeriod
in interface IReplicationInNotifyTemplateLeaseExtendedHandler
UnknownLeaseException
InternalSpaceException
public void inNotifyTemplateLeaseExpired(IReplicationInContext context, String className, String uid, OperationID operationID)
inNotifyTemplateLeaseExpired
in interface IReplicationInNotifyTemplateLeaseExpiredHandler
Copyright © GigaSpaces.