public class ReplicationNodeInFacade extends Object implements IReplicationInFacade
ReplicationNode
that implements the IReplicationInFacade
Constructor and Description |
---|
ReplicationNodeInFacade(ReplicationNodeGroupsHolder groupsHolder) |
public ReplicationNodeInFacade(ReplicationNodeGroupsHolder groupsHolder)
public void inCancelEntryLease(IReplicationInContext context, IEntryPacket entryPacket) throws Exception
inCancelEntryLease
in interface IReplicationInEntryLeaseCancelledHandler
Exception
public void inCancelEntryLeaseByUID(IReplicationInContext context, String className, String uid, boolean isTransient, int routingValue) throws Exception
inCancelEntryLeaseByUID
in interface IReplicationInEntryLeaseCancelledHandler
Exception
public void inEntryLeaseExpired(IReplicationInContext context, IEntryPacket entryPacket)
inEntryLeaseExpired
in interface IReplicationInEntryLeaseExpiredHandler
public void inEntryLeaseExpiredByUID(IReplicationInContext context, String className, String uid, boolean isTransient, OperationID operationID)
inEntryLeaseExpiredByUID
in interface IReplicationInEntryLeaseExpiredHandler
public void inNotifyTemplateLeaseExpired(IReplicationInContext context, String className, String uid, OperationID operationID)
inNotifyTemplateLeaseExpired
in interface IReplicationInNotifyTemplateLeaseExpiredHandler
public void inEvictEntry(IReplicationInContext context, String uid, boolean isTransient, OperationID operationID) throws Exception
inEvictEntry
in interface IReplicationInEvictEntryHandler
Exception
public void inExtendEntryLeasePeriod(IReplicationInContext context, String className, String uid, boolean isTransient, long lease, int routingValue) throws Exception
inExtendEntryLeasePeriod
in interface IReplicationInEntryLeaseExtendedHandler
Exception
public void inExtendNotifyTemplateLeasePeriod(IReplicationInContext context, String className, String uid, long lease) throws Exception
inExtendNotifyTemplateLeasePeriod
in interface IReplicationInNotifyTemplateLeaseExtendedHandler
Exception
public void inInsertNotifyTemplate(IReplicationInContext context, ITemplatePacket templatePacket, String uidToOperateBy, NotifyInfo notifyInfo) throws Exception
inInsertNotifyTemplate
in interface IReplicationInNotifyTemplateCreatedHandler
Exception
public void inNotificationSent(IReplicationInContext context, OperationID operationId) throws Exception
inNotificationSent
in interface IReplicationInNotificationSentHandler
Exception
public void inRemoveEntry(IReplicationInContext context, IEntryPacket entryPacket) throws Exception
inRemoveEntry
in interface IReplicationInEntryHandler
Exception
public void inRemoveEntryByUID(IReplicationInContext context, String typeName, String uid, boolean isTransient, OperationID operationID) throws Exception
inRemoveEntryByUID
in interface IReplicationInEntryHandler
Exception
public void inRemoveNotifyTemplate(IReplicationInContext context, String className, String uid)
inRemoveNotifyTemplate
in interface IReplicationInNotifyTemplateRemovedHandler
public void inTransaction(IReplicationInContext context, ITransactionInContext transactionContext) throws Exception
IReplicationInTransactionHandler
inTransaction
in interface IReplicationInTransactionHandler
Exception
public void inTransactionPrepare(IReplicationInContext context, ITransactionInContext transactionContext) throws Exception
IReplicationInTransactionHandler
inTransactionPrepare
in interface IReplicationInTransactionHandler
Exception
public void inTransactionCommit(IReplicationInContext context, ITransactionInContext transactionContext) throws Exception
IReplicationInTransactionHandler
inTransactionCommit
in interface IReplicationInTransactionHandler
Exception
public void inTransactionAbort(IReplicationInContext context, ITransactionInContext transactionContext) throws Exception
IReplicationInTransactionHandler
inTransactionAbort
in interface IReplicationInTransactionHandler
Exception
public void inUpdateEntry(IReplicationInContext context, IEntryPacket entryPacket, IEntryPacket oldEntryPacket, boolean partialUpdate, boolean overrideVersion, short flags) throws Exception
inUpdateEntry
in interface IReplicationInEntryHandler
Exception
public void inChangeEntry(IReplicationInContext context, String typeName, String uid, Object id, int version, int previousVersion, int routingHash, long timeToLive, Collection<SpaceEntryMutator> mutators, boolean isTransient, OperationID operationID) throws Exception
inChangeEntry
in interface IReplicationInEntryHandler
Exception
public void inWriteEntry(IReplicationInContext context, IEntryPacket entryPacket) throws Exception
inWriteEntry
in interface IReplicationInEntryHandler
Exception
public void inDataTypeAddIndex(IReplicationInContext context, AddTypeIndexesRequestInfo addIndexRequestInfo) throws Exception
inDataTypeAddIndex
in interface IReplicationInDataTypeIndexAddedHandler
Exception
public void inDataTypeIntroduce(IReplicationInContext context, ITypeDesc typeDescriptor) throws Exception
inDataTypeIntroduce
in interface IReplicationInDataTypeCreatedHandler
Exception
public void consumePendingOperationsInBatch(IReplicationInBatchContext context) throws Exception
IReplicationInBatchConsumptionHandler
consumePendingOperationsInBatch
in interface IReplicationInBatchConsumptionHandler
Exception
public void setInEntryLeaseCancelledHandler(IReplicationInEntryLeaseCancelledHandler inCancelEntryLeaseHandler)
public void setInEntryLeaseExpiredHandler(IReplicationInEntryLeaseExpiredHandler inEntryLeaseExpiredHandler)
public void setInNotifyTemplateLeaseExpiredHandler(IReplicationInNotifyTemplateLeaseExpiredHandler inNotifyTemplateLeaseExpiredHandler)
public void setInEvictEntryHandler(IReplicationInEvictEntryHandler inEvictEntryHandler)
public void setInEntryLeaseExtendedHandler(IReplicationInEntryLeaseExtendedHandler handler)
public void setInNotifyTemplateLeaseExtendedHandler(IReplicationInNotifyTemplateLeaseExtendedHandler handler)
public void setInNotifyTemplateCreatedHandler(IReplicationInNotifyTemplateCreatedHandler handler)
public void setInNotificationSentHandler(IReplicationInNotificationSentHandler handler)
public void setInNotifyTemplateRemovedHandler(IReplicationInNotifyTemplateRemovedHandler handler)
public void setInTransactionHandler(IReplicationInTransactionHandler handler)
public void setInEntryHandler(IReplicationInEntryHandler handler)
public void setInDataTypeCreatedHandler(IReplicationInDataTypeCreatedHandler handler)
public void setInDataTypeIndexAddedHandler(IReplicationInDataTypeIndexAddedHandler handler)
public void setInBatchConsumptionHandler(IReplicationInBatchConsumptionHandler inBatchConsumptionHandler)
public IReplicationSourceGroup getReplicationSourceGroup(String groupName)
getReplicationSourceGroup
in interface IReplicationInFacade
public void afterConsumption(IReplicationInContext context, boolean successful, long lastProcessedKey)
afterConsumption
in interface IReplicationInEntryHandler
public void beforeConsume(IReplicationInContext context)
beforeConsume
in interface IReplicationInEntryHandler
Copyright © GigaSpaces.