Class NotifyModifiers

java.lang.Object
com.j_spaces.core.client.NotifyModifiers

@Deprecated public class NotifyModifiers extends Object
Deprecated.
The Modifier class provides static methods and constants to decode notify types modifiers. The sets of modifiers are represented as integers with distinct bit positions representing different modifiers.
Version:
4.0
Author:
Yechiel Fefer, Igor Goldenberg
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Deprecated.
    since 9.6 - register using specific modifiers instead.
    static final int
    Deprecated.
    The int value representing the NOTIFY_LEASE_EXPIRATION modifier.
    static final int
    Deprecated.
    The int value required matching to be done only by UID if provided (not in POJO) modifier.
    static final int
    Deprecated.
    The int value representing the NOTIFY_MATCHED_UPDATE modifier.
    static final int
    Deprecated.
    The int value representing the Notify None modifier.
    static final int
    Deprecated.
    The int value representing the NOTIFY_REMATCHED_UPDATE modifier.
    static final int
    Deprecated.
    The int value representing the Notify Take modifier.
    static final int
    Deprecated.
    The int value representing the NOTIFY_UNMATCHED modifier.
    static final int
    Deprecated.
    The int value representing the NOTIFY_UPDATE modifier.
    static final int
    Deprecated.
    The int value representing the NOTIFY_WRITE modifier.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    Deprecated.
    Return true if the integer argument includes the lease expiration modifier, false otherwise.
    static boolean
    isMatchByID(int mod)
    Deprecated.
     
    static boolean
    isMatchedUpdate(int mod)
    Deprecated.
    Return true if the integer argument includes the NOTIFY_MATCHED_UPDATE modifier, false otherwise.
    static boolean
    Deprecated.
    Return true if the integer argument includes the NOTIFY_REMATCHED_UPDATE modifier, false otherwise.
    static boolean
    isTake(int mod)
    Deprecated.
    Return true if the integer argument includes the take modifier, false otherwise.
    static boolean
    isUnmatched(int mod)
    Deprecated.
    Return true if the integer argument includes the NOTIFY_UNMATCHED modifier, false otherwise.
    static boolean
    isUpdate(int mod)
    Deprecated.
    Return true if the integer argument includes the NOTIFY_UPDATE modifier, false otherwise.
    static boolean
    isWrite(int mod)
    Deprecated.
    Return true if the integer argument includes the NOTIFY_WRITE modifier, false otherwise.
    static String
    toString(int mod)
    Deprecated.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • NOTIFY_NONE

      public static final int NOTIFY_NONE
      Deprecated.
      The int value representing the Notify None modifier.
      See Also:
    • NOTIFY_WRITE

      public static final int NOTIFY_WRITE
      Deprecated.
      The int value representing the NOTIFY_WRITE modifier.
      See Also:
    • NOTIFY_UPDATE

      public static final int NOTIFY_UPDATE
      Deprecated.
      The int value representing the NOTIFY_UPDATE modifier.
      See Also:
    • NOTIFY_TAKE

      public static final int NOTIFY_TAKE
      Deprecated.
      The int value representing the Notify Take modifier.
      See Also:
    • NOTIFY_LEASE_EXPIRATION

      public static final int NOTIFY_LEASE_EXPIRATION
      Deprecated.
      The int value representing the NOTIFY_LEASE_EXPIRATION modifier.
      See Also:
    • NOTIFY_ALL

      @Deprecated public static final int NOTIFY_ALL
      Deprecated.
      since 9.6 - register using specific modifiers instead.
      The int value representing the NOTIFY_ALL modifier which includes the NOTIFY_WRITE, NOTIFY_UPDATE, NOTIFY_TAKE and NOTIFY_LEASE_EXPIRATION modifiers.
      See Also:
    • NOTIFY_MATCH_BY_ID

      public static final int NOTIFY_MATCH_BY_ID
      Deprecated.
      The int value required matching to be done only by UID if provided (not in POJO) modifier.
      See Also:
    • NOTIFY_UNMATCHED

      public static final int NOTIFY_UNMATCHED
      Deprecated.
      The int value representing the NOTIFY_UNMATCHED modifier.
      See Also:
    • NOTIFY_MATCHED_UPDATE

      public static final int NOTIFY_MATCHED_UPDATE
      Deprecated.
      The int value representing the NOTIFY_MATCHED_UPDATE modifier.
      Since:
      9.1
      See Also:
    • NOTIFY_REMATCHED_UPDATE

      public static final int NOTIFY_REMATCHED_UPDATE
      Deprecated.
      The int value representing the NOTIFY_REMATCHED_UPDATE modifier.
      Since:
      9.1
      See Also:
  • Constructor Details

    • NotifyModifiers

      public NotifyModifiers()
      Deprecated.
  • Method Details

    • isWrite

      public static boolean isWrite(int mod)
      Deprecated.
      Return true if the integer argument includes the NOTIFY_WRITE modifier, false otherwise.
      Parameters:
      mod - a set of modifiers
      Returns:
      true if mod includes the NOTIFY_WRITE modifier; false otherwise.
    • isUpdate

      public static boolean isUpdate(int mod)
      Deprecated.
      Return true if the integer argument includes the NOTIFY_UPDATE modifier, false otherwise.
      Parameters:
      mod - a set of modifiers
      Returns:
      true if mod includes the NOTIFY_UPDATE modifier; false otherwise.
    • isUnmatched

      public static boolean isUnmatched(int mod)
      Deprecated.
      Return true if the integer argument includes the NOTIFY_UNMATCHED modifier, false otherwise.
      Parameters:
      mod - a set of modifiers
      Returns:
      true if mod includes the NOTIFY_UNMATCHED modifier; false otherwise.
    • isMatchedUpdate

      public static boolean isMatchedUpdate(int mod)
      Deprecated.
      Return true if the integer argument includes the NOTIFY_MATCHED_UPDATE modifier, false otherwise.
      Parameters:
      mod - a set of modifiers
      Returns:
      true if mod includes the NOTIFY_MATCHED_UPDATE modifier; false otherwise.
      Since:
      9.1
    • isRematchedUpdate

      public static boolean isRematchedUpdate(int mod)
      Deprecated.
      Return true if the integer argument includes the NOTIFY_REMATCHED_UPDATE modifier, false otherwise.
      Parameters:
      mod - a set of modifiers
      Returns:
      true if mod includes the NOTIFY_REMATCHED_UPDATE modifier; false otherwise.
      Since:
      9.1
    • isTake

      public static boolean isTake(int mod)
      Deprecated.
      Return true if the integer argument includes the take modifier, false otherwise.
      Parameters:
      mod - a set of modifiers
      Returns:
      true if mod includes the take modifier; false otherwise.
    • isLeaseExpiration

      public static boolean isLeaseExpiration(int mod)
      Deprecated.
      Return true if the integer argument includes the lease expiration modifier, false otherwise.
      Parameters:
      mod - a set of modifiers
      Returns:
      true if mod includes the lease expiration modifier; false otherwise.
    • isMatchByID

      public static boolean isMatchByID(int mod)
      Deprecated.
      Parameters:
      mod - a set of modifiers
      Returns:
      true if mod includes the MATCH_BY_UID modifier; false otherwise.
    • toString

      public static String toString(int mod)
      Deprecated.