/** * set this to true after dispatching the event to a cache listener */ public void callbacksInvoked(boolean dispatched) { setEventFlag(EventFlags.FLAG_CALLBACKS_INVOKED, dispatched); }
/** * set this to true to inhibit notifications that are sent to gateway/async queues, client queues, * cache listener and cache write. This is used to skip sending notifications for the data that is * read from a persistent store (HDFS) and is being reinserted in the cache */ public void setInhibitAllNotifications(boolean inhibit) { setEventFlag(EventFlags.FLAG_INHIBIT_ALL_NOTIFICATIONS, inhibit); }
/** * this is used to distinguish an event that merely has Operation.CREATE from one that originated * from Region.create() for delta processing purposes. */ public EntryEventImpl setCreate(boolean isCreate) { setEventFlag(EventFlags.FLAG_ISCREATE, isCreate); return this; }
/** * set this to true to inhibit application cache listener notification during event dispatching */ public void inhibitCacheListenerNotification(boolean inhibit) { setEventFlag(EventFlags.FLAG_INHIBIT_LISTENER_NOTIFICATION, inhibit); }
/** * If the operation encapsulated by this event has already been seen by the region to which it * pertains, this flag should be set to true. * * @param possibleDuplicate the possibleDuplicate to set */ public void setPossibleDuplicate(boolean possibleDuplicate) { setEventFlag(EventFlags.FLAG_POSSIBLE_DUPLICATE, possibleDuplicate); }
public void setGenerateCallbacks(boolean b) { setEventFlag(EventFlags.FLAG_GENERATE_CALLBACKS, b); }
/** * Sets the fromServer flag to v. This must be set to true if an event comes from a server while * the affected region entry is not locked. Among other things it causes version conflict checks * to be performed to protect against overwriting a newer version of the entry. * * @since GemFire 5.7 */ public void setFromServer(boolean v) { setEventFlag(EventFlags.FLAG_FROM_SERVER, v); }
public void setOriginRemote(boolean b) { setEventFlag(EventFlags.FLAG_ORIGIN_REMOTE, b); }
/** set the the flag telling whether callbacks should be invoked for a partitioned region */ public void setInvokePRCallbacks(boolean b) { setEventFlag(EventFlags.FLAG_INVOKE_PR_CALLBACKS, b); }
public void setIsRedestroyedEntry(boolean b) { setEventFlag(EventFlags.FLAG_REDESTROYED_TOMBSTONE, b); }
private void setFromRILocalDestroy(boolean on) { setEventFlag(EventFlags.FLAG_FROM_RI_LOCAL_DESTROY, on); }
public void setLocalInvalid(boolean b) { setEventFlag(EventFlags.FLAG_LOCAL_INVALID, b); }
public void setInhibitDistribution(boolean b) { setEventFlag(EventFlags.FLAG_INHIBIT_DISTRIBUTION, b); }
public void isConcurrencyConflict(boolean b) { setEventFlag(EventFlags.FLAG_CONCURRENCY_CONFLICT, b); }
private void setSerializationDeferred(boolean serializationDeferred) { setEventFlag(EventFlags.FLAG_SERIALIZATION_DEFERRED, serializationDeferred); }
setEventFlag(EventFlags.FLAG_CALLBACKS_INVOKED, false); txId = other.txId; op = other.op;