Class SystemMemberType

java.lang.Object
org.apache.geode.admin.SystemMemberType
All Implemented Interfaces:
Serializable

@Deprecated @Immutable public class SystemMemberType extends Object implements Serializable
Deprecated.
as of 7.0 use the management package instead
Type-safe definition for system members.
Since:
GemFire 3.5
See Also:
  • Field Details

    • MANAGER

      @Immutable public static final SystemMemberType MANAGER
      Deprecated.
      GemFire shared-memory manager connected to the distributed system
    • APPLICATION

      @Immutable public static final SystemMemberType APPLICATION
      Deprecated.
      Application connected to the distributed system
    • CACHE_VM

      @Immutable public static final SystemMemberType CACHE_VM
      Deprecated.
      GemFire Cache VM connected to the distributed system
    • CACHE_SERVER

      @Deprecated @Immutable public static final SystemMemberType CACHE_SERVER
      Deprecated.
      as of 5.7 use CACHE_VM instead.
      GemFire Cache Server connected to the distributed system
    • ordinal

      public final int ordinal
      Deprecated.
      int used as ordinal to represent this Scope
  • Method Details

    • fromOrdinal

      public static SystemMemberType fromOrdinal(int ordinal)
      Deprecated.
      Return the SystemMemberType represented by specified ordinal
      Parameters:
      ordinal - the ordinal representation of a SystemMemberType
      Returns:
      the SystemMemberType represented by specified ordinal
    • getName

      public String getName()
      Deprecated.
    • isManager

      public boolean isManager()
      Deprecated.
      Return whether this is MANAGER.
      Returns:
      whether this is MANAGER
    • isApplication

      public boolean isApplication()
      Deprecated.
      Return whether this is APPLICATION.
      Returns:
      whether this is APPLICATION
    • isCacheServer

      @Deprecated public boolean isCacheServer()
      Deprecated.
      as of 5.7 use isCacheVm() instead.
      Return whether this is CACHE_SERVER.
      Returns:
      whether this is CACHE_SERVER
    • isCacheVm

      public boolean isCacheVm()
      Deprecated.
      Return whether this is CACHE_VM.
      Returns:
      whether this is CACHE_VM
    • toString

      public String toString()
      Deprecated.
      Returns a string representation for this system member type.
      Overrides:
      toString in class Object
      Returns:
      the name of this system member type
    • equals

      public boolean equals(Object other)
      Deprecated.
      Indicates whether some other object is "equal to" this one.
      Overrides:
      equals in class Object
      Parameters:
      other - the reference object with which to compare.
      Returns:
      true if this object is the same as the obj argument; false otherwise.
    • hashCode

      public int hashCode()
      Deprecated.
      Returns a hash code for the object. This method is supported for the benefit of hashtables such as those provided by java.util.Hashtable.
      Overrides:
      hashCode in class Object
      Returns:
      the integer 0 if description is null; otherwise a unique integer.