Class NotifyContext

java.lang.Object
com.gigaspaces.internal.server.space.events.NotifyContext

public class NotifyContext extends Object
Holds a counter that indicates how many notifications are still not returned from the client. When the number is getting to 0, it means that all the possible notifications where triggered and that all of them already returned.
Since:
6.0
Version:
1.0
Author:
Guy Korland
  • Constructor Details

  • Method Details

    • getEntry

      public IEntryHolder getEntry()
    • getReferenceEntry

      public IEntryHolder getReferenceEntry()
    • getOperationId

      public OperationID getOperationId()
    • getNotifyType

      public NotifyActionType getNotifyType()
    • isGuaranteedNotifications

      public boolean isGuaranteedNotifications()
    • setGuaranteedNotifications

      public void setGuaranteedNotifications(boolean guaranteedNotifications)
    • isFinishedTemplateSearch

      public boolean isFinishedTemplateSearch()
    • setFinishedTemplateSearch

      public void setFinishedTemplateSearch(boolean finishedTemplateSearch)
    • countInc

      public boolean countInc(boolean needAfterAll)
      Returns:
      true if the first increase
    • countDec

      public boolean countDec()
      Returns:
      true if all the counter is 0 (no need to wait for more notifications to return)