public class NotifyTemplateHolder extends TemplateHolder
Constructor and Description |
---|
NotifyTemplateHolder(IServerTypeDesc typeDesc,
ITemplatePacket template,
String uid,
long expirationTime,
long eventId,
NotifyInfo info,
boolean isFifo) |
addEntryWaitingForTemplate, addReadLockOwner, addTemplateWaitingForEntry, anyReadLockXtn, canFinishBatchOperation, clearReadLockOwners, createCopy, createDummy, getAfterOpFilterCode, getAggregatorContext, getAnswerHolder, getBatchOperationContext, getChangeExpiration, getCopyOfTemplatesWaitingForEntry, getCustomQuery, getEntriesWaitingForTemplate, getEntryData, getEntryId, getExplainPlan, getExtendedMatchCodes, getExternalEntryImplClassName, getExternalLockObject, getFifoThreadPartition, getFifoXtnNumberOnSearchStart, getFilterManager, getID, getMaster, getMultipleIdsContext, getMultipleUids, getMutators, getOperationID, getOperationModifiers, getOrdinalForEntryByIdMultipleOperation, getOriginalEntryHolder, getPendingFifoSearchObject, getPreviousVersion, getProjectionTemplate, getQueryResultType, getRangeInclusion, getRangeValue, getReadLockOwners, getRejectedOperationEntry, getRejectedOpOriginalException, getResponseContext, getServerIteratorInfo, getShadow, getSpaceContext, getTemplateEntryData, getTemplateOperation, getTemplatesWaitingForEntry, getTokenFieldNumber, getTxnEntryData, getUidToOperateBy, getUpdatedEntry, getUpdateOperationEntry, getUpfdateOrWriteContext, getWriteLockOperation, getWriteLockOwner, getWriteLockTransaction, getXidOriginated, getXidOriginatedTransaction, hasAnswer, hasExtendedMatchCodes, hasPendingRemoteException, hasShadow, isAllValuesIndexSqlQuery, isBatchOperation, isBlobStoreEntry, isChange, isChangeById, isChangeMultiple, isChangeQuery, isClear, isDirtyReadRequested, isEmptyTemplate, isEntryUnderWriteLockXtn, isExclusiveReadLockOperation, isExpirationTimeSet, isExpired, isExpired, isExplicitInsertionToExpirationManager, isFifoGroupPoll, isFifoSearch, isFifoTemplate, isIdQuery, isIfExist, isInCache, isInExpirationManager, isInitialFifoSearchActive, isInitialIfExistSearchActive, isInitiatedEvictionOperation, isMaybeUnderXtn, isMemoryOnlySearch, isMultipleIdsOperation, isNonBlockingRead, isOptimizedForBlobStoreClear, isOptimizedForBlobStoreOp, isReadCommittedRequested, isReadMultiple, isReadOperation, isReRegisterLeaseOnUpdate, isReturnOnlyUid, isSameEntryInstance, isSecondPhase, isServerIterator, isSetSingleOperationExtendedErrorInfo, isSqlQuery, isTakeMultiple, isTakeOperation, isUnstable, isUpdateMultiple, isUpdateOperation, isWriteLockOperation, match, quickReject, removeEntryWaitingForTemplate, removePendingFifoSearchObject, removeReadLockOwner, removeTemplateWaitingForEntry, resetEntryXtnInfo, resetFifoXtnNumberOnSearchStart, resetInitialFifoSearchActive, resetInitialIfExistSearchActive, resetWriteLockOwner, resetXidOriginated, restoreUpdateXtnRollback, setAggregatorContext, setAnswerHolder, setBatchOperationContext, setChangeExpiration, setCustomQuery, setExpirationTime, setExpirationTime, setFieldsValues, setFifoThreadPartition, setFifoXtnNumberOnSearchStart, setForAfterOperationFilter, setID, setIfExistForChange, setInCache, setInExpirationManager, setInitialFifoSearchActive, setInitialIfExistSearchActive, setMemoryOnlySearch, setMultipleIdsContext, setMutators, setNonBlockingRead, setOrdinalForEntryByIdMultipleOperation, setOtherUpdateUnderXtnEntry, setPendingFifoSearchObject, setPendingRemoteException, setRejectedOpOriginalExceptionAndEntry, setReRegisterLeaseOnUpdate, setSecondPhase, setServerIteratorInfo, setUidToOperateBy, setunStable, setUpdatedEntry, setUpdateOrWriteContext, setWriteLockOperation, setWriteLockOwnerAndOperation, setWriteLockOwnerAndOperation, setWriteLockOwnerOperationAndShadow, toSQLQuery, updateEntryData, updateVersionAndExpiration
getClassName, getEvictableLockObject, getExpirationTime, getOrder, getRoutingValue, getSCN, getServerTypeDesc, getUID, getVersionID, hasShadow, hasWaitingFor, isDeleted, isDummyLease, isDummyLeaseAndNotExpired, isLockSubject, isShadow, isTransient, setDeleted, setDummyLease, setHasWaitingFor, setMaybeUnderXtn, setOrder, setSCN, setTransient, setUID, toString, toText
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getExpirationTime, getLockSubjectType
getOrder, getRoutingValue, hasShadow, isHollowEntry, isShadow, setOrder, setSCN, setTransient, setUID
getClassName, getSCN, getServerTypeDesc, hasWaitingFor, isDeleted, isDummyLease, isDummyLeaseAndNotExpired, isTransient, setDeleted, setDummyLease, setHasWaitingFor, setMaybeUnderXtn
isLockSubject
getUID
public NotifyTemplateHolder(IServerTypeDesc typeDesc, ITemplatePacket template, String uid, long expirationTime, long eventId, NotifyInfo info, boolean isFifo)
public boolean isNotifyTemplate()
isNotifyTemplate
in interface ITemplateHolder
isNotifyTemplate
in class TemplateHolder
public int getSpaceItemType()
public long getEventId()
public NotifyInfo getNotifyInfo()
public ITemplatePacket getGenerationTemplate()
public long getSequenceNumber()
public boolean isTriggerNotify()
public boolean isReplicateNotify()
public boolean isGuaranteedNotification()
public boolean isBroadcast()
public int getNotifyType()
getNotifyType
in interface IEntryHolder
getNotifyType
in class AbstractSpaceItem
public boolean containsNotifyType(NotifyActionType notifyType)
public MarshalledObject getHandback()
getHandback
in interface IEntryHolder
getHandback
in class AbstractSpaceItem
public INotifyDelegatorFilter getFilter()
public RemoteEventListener getREListener()
public void setREListener(RemoteEventListener listener)
public void addPendingEvent(BatchNotifyExecutor.EventHolder event)
public void clearPendingEvents()
public BatchNotifyExecutor.EventHolder pollPendingEvent()
public BatchNotifyExecutor.EventHolder peekPendingEvent()
public int getPendingEventsSize()
public boolean isBatching()
public int getBatchSize()
public long getBatchTime()
public long getBatchOrder()
public void setBatchOrder(long _batchOrder)
public boolean trySetNotifyInProgress()
public void finnishedNotify()
public void dump(org.slf4j.Logger logger, String msg)
dump
in class TemplateHolder
public boolean isMatchByID()
isMatchByID
in interface ITemplateHolder
isMatchByID
in class TemplateHolder
public RemoteEvent createRemoteEvent(IEntryHolder entryHolder, NotifyActionType notifyType, OperationID operationID, IJSpace spaceProxy, boolean fromReplication)
public RemoteEvent createRemoteEvent(IEntryHolder entryHolder, IEntryHolder oldEntryHolder, NotifyActionType notifyType, OperationID operationID, IJSpace spaceProxy, boolean fromReplication)
public boolean quickReject(Context context, FifoSearch fifoSearch, ServerTransaction txn, NotifyContextsHolder notifyContextsHolder)
Copyright © GigaSpaces.