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 IReplicationInNotifyTemplateCreatedHandlerExceptionpublic void inRemoveNotifyTemplate(IReplicationInContext context, String typeName, String uid)
inRemoveNotifyTemplate in interface IReplicationInNotifyTemplateRemovedHandlerpublic void inExtendNotifyTemplateLeasePeriod(IReplicationInContext context, String typeName, String uid, long lease) throws UnknownLeaseException, InternalSpaceException
inExtendNotifyTemplateLeasePeriod in interface IReplicationInNotifyTemplateLeaseExtendedHandlerUnknownLeaseExceptionInternalSpaceExceptionpublic void inNotifyTemplateLeaseExpired(IReplicationInContext context, String className, String uid, OperationID operationID)
inNotifyTemplateLeaseExpired in interface IReplicationInNotifyTemplateLeaseExpiredHandlerCopyright © GigaSpaces.