management
package instead@Deprecated public class GemFireMemberStatus extends Object implements Serializable
GemFireMemberStatus
provides the status of a specific GemFire member VM. This
VM can be a peer, a client, a server and/or a gateway.Modifier and Type | Field and Description |
---|---|
protected String |
_bindAddress
Deprecated.
|
protected Map |
_clientHealthStats
Deprecated.
|
protected Map |
_clientHostNames
Deprecated.
|
protected Map |
_clientQueueSizes
Deprecated.
|
protected Set |
_connectedClients
Deprecated.
|
protected Map |
_connectedIncomingGateways
Deprecated.
|
protected Set |
_connectedPeers
Deprecated.
|
protected Set |
_connectedServers
Deprecated.
|
protected long |
_freeHeapSize
Deprecated.
|
protected Object |
_gatewayHubStatus
Deprecated.
|
protected Map |
_gatewayQueueSizes
Deprecated.
|
protected InetAddress |
_hostAddress
Deprecated.
|
protected boolean |
_isClient
Deprecated.
Notifies whether this member is a client to a cache server.
|
protected boolean |
_isConnected
Deprecated.
|
protected boolean |
_isGatewayHub
Deprecated.
Notifies whether this member is a hub for WAN gateways.
|
protected boolean |
_isLocator
Deprecated.
Notifies whether this member is a locator.
|
protected boolean |
_isPrimaryGatewayHub
Deprecated.
|
protected boolean |
_isServer
Deprecated.
Notifies whether this member is a cache server.
|
protected String |
_locators
Deprecated.
|
protected long |
_maximumHeapSize
Deprecated.
|
protected InetAddress |
_mcastAddress
Deprecated.
|
protected int |
_mcastPort
Deprecated.
|
protected Serializable |
_memberId
Deprecated.
|
protected String |
_memberName
Deprecated.
|
protected Map |
_outgoingGateways
Deprecated.
|
protected Map |
_regionStatuses
Deprecated.
|
protected int |
_serverPort
Deprecated.
|
protected Set |
_unconnectedServers
Deprecated.
|
protected Cache |
cache
Deprecated.
|
protected long |
upTime
Deprecated.
|
Constructor and Description |
---|
GemFireMemberStatus()
Deprecated.
|
GemFireMemberStatus(Cache cache)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addConnectedClient(String connectedClient)
Deprecated.
|
protected void |
addConnectedServer(String connectedServer)
Deprecated.
|
protected void |
addUnconnectedServer(String unconnectedServer)
Deprecated.
|
String |
getBindAddress()
Deprecated.
|
Map |
getClientHealthStats()
Deprecated.
|
Object |
getClientHealthStats(String clientID)
Deprecated.
For internal use only
|
String |
getClientHostName(String clientId)
Deprecated.
|
int |
getClientQueueSize(String clientMemberId)
Deprecated.
|
Map |
getClientQueueSizes()
Deprecated.
|
Set |
getConnectedClients()
Deprecated.
|
Map |
getConnectedIncomingGateways()
Deprecated.
|
Set |
getConnectedPeers()
Deprecated.
|
Set |
getConnectedServers()
Deprecated.
|
long |
getFreeHeapSize()
Deprecated.
|
Object |
getGatewayHubStatus()
Deprecated.
For internal use only
|
InetAddress |
getHostAddress()
Deprecated.
|
boolean |
getIsClient()
Deprecated.
Returns whether this member is a client to a cache server
|
boolean |
getIsConnected()
Deprecated.
|
boolean |
getIsGatewayHub()
Deprecated.
Returns whether this member is a hub for WAN gateways
|
boolean |
getIsLocator()
Deprecated.
|
boolean |
getIsPrimaryGatewayHub()
Deprecated.
|
boolean |
getIsSecondaryGatewayHub()
Deprecated.
|
boolean |
getIsServer()
Deprecated.
Returns whether this member is a cache server
|
String |
getLocators()
Deprecated.
|
long |
getMaximumHeapSize()
Deprecated.
|
InetAddress |
getMcastAddress()
Deprecated.
|
int |
getMcastPort()
Deprecated.
|
Serializable |
getMemberId()
Deprecated.
|
String |
getMemberName()
Deprecated.
|
Map |
getOutgoingGateways()
Deprecated.
|
Object |
getRegionStatus(String fullRegionPath)
Deprecated.
For internal use only
|
Map |
getRegionStatuses()
Deprecated.
|
int |
getServerPort()
Deprecated.
|
Set |
getUnconnectedServers()
Deprecated.
|
long |
getUpTime()
Deprecated.
|
long |
getUsedHeapSize()
Deprecated.
|
protected void |
initialize(DistributedSystem distributedSystem)
Deprecated.
|
protected void |
initializeAll(DistributedSystem distributedSystem)
Deprecated.
|
protected void |
initializeClient()
Deprecated.
|
protected void |
initializeDistributedSystem(DistributedSystem distributedSystem)
Deprecated.
|
protected void |
initializeInstanceVariables()
Deprecated.
|
protected void |
initializeMemory()
Deprecated.
|
protected void |
initializePeers(DistributedSystem distributedSystem)
Deprecated.
|
protected void |
initializeRegionSizes()
Deprecated.
|
protected void |
initializeServer()
Deprecated.
|
protected void |
putClientHostName(String clientId,
String hostName)
Deprecated.
|
protected void |
putClientQueueSize(String clientMemberId,
int size)
Deprecated.
|
protected void |
putRegionStatus(String fullRegionPath,
org.apache.geode.internal.cache.RegionStatus status)
Deprecated.
|
protected void |
setBindAddress(String bindAddress)
Deprecated.
|
protected void |
setClientHealthStats(Map stats)
Deprecated.
|
protected void |
setClientHealthStats(String clientID,
org.apache.geode.internal.admin.remote.ClientHealthStats stats)
Deprecated.
|
protected void |
setClientQueueSizes(Map clientQueueSizes)
Deprecated.
|
protected void |
setConnectedIncomingGateways(Map connectedIncomingGateways)
Deprecated.
|
protected void |
setConnectedPeers(Set connectedPeers)
Deprecated.
|
protected void |
setConnectedServers(Set connectedServers)
Deprecated.
|
protected void |
setFreeHeapSize(long size)
Deprecated.
|
protected void |
setHostAddress(InetAddress hostAddress)
Deprecated.
|
protected void |
setIsClient(boolean isClient)
Deprecated.
Sets whether this member is a client to a cache server
|
protected void |
setIsConnected(boolean isConnected)
Deprecated.
|
protected void |
setIsGatewayHub(boolean isGatewayHub)
Deprecated.
Sets whether this member is a cache server
|
protected void |
setIsLocator(boolean isLocator)
Deprecated.
|
protected void |
setIsPrimaryGatewayHub(boolean isPrimaryGatewayHub)
Deprecated.
|
protected void |
setIsServer(boolean isServer)
Deprecated.
Sets whether this member is a cache server
|
protected void |
setLocators(String locators)
Deprecated.
|
protected void |
setMaximumHeapSize(long size)
Deprecated.
|
protected void |
setMcastAddress(InetAddress mcastAddress)
Deprecated.
|
protected void |
setMcastPort(int mcastPort)
Deprecated.
|
protected void |
setMemberId(Serializable memberId)
Deprecated.
|
protected void |
setMemberName(String memberName)
Deprecated.
|
protected void |
setServerPort(int port)
Deprecated.
|
protected void |
setUnconnectedServers(Set unconnectedServers)
Deprecated.
|
void |
setUpTime(long upTime)
Deprecated.
|
String |
toString()
Deprecated.
|
protected boolean _isClient
protected boolean _isServer
protected boolean _isGatewayHub
protected boolean _isLocator
protected boolean _isPrimaryGatewayHub
protected Object _gatewayHubStatus
protected boolean _isConnected
protected Serializable _memberId
protected Set _connectedPeers
protected Set _connectedServers
protected Set _unconnectedServers
protected Set _connectedClients
protected Map _connectedIncomingGateways
protected Map _outgoingGateways
protected Map _clientHostNames
protected Map _clientQueueSizes
protected Map _gatewayQueueSizes
protected Map _regionStatuses
protected Map _clientHealthStats
protected String _memberName
protected int _mcastPort
protected int _serverPort
protected InetAddress _mcastAddress
protected String _bindAddress
protected String _locators
protected InetAddress _hostAddress
protected long _maximumHeapSize
protected long _freeHeapSize
protected long upTime
protected final transient Cache cache
public GemFireMemberStatus()
public GemFireMemberStatus(Cache cache)
public boolean getIsConnected()
protected void setIsConnected(boolean isConnected)
public boolean getIsClient()
protected void setIsClient(boolean isClient)
isClient
- Boolean defining whether this member is a client to a cache serverpublic boolean getIsServer()
protected void setIsServer(boolean isServer)
isServer
- Boolean defining whether this member is a cache serverpublic int getServerPort()
protected void setServerPort(int port)
public boolean getIsGatewayHub()
protected void setIsGatewayHub(boolean isGatewayHub)
isGatewayHub
- Boolean defining whether this member is a hub for WAN gatewayspublic boolean getIsLocator()
protected void setIsLocator(boolean isLocator)
public boolean getIsPrimaryGatewayHub()
protected void setIsPrimaryGatewayHub(boolean isPrimaryGatewayHub)
public Object getGatewayHubStatus()
public boolean getIsSecondaryGatewayHub()
public Set getConnectedPeers()
protected void setConnectedPeers(Set connectedPeers)
public Set getConnectedServers()
protected void setConnectedServers(Set connectedServers)
protected void addConnectedServer(String connectedServer)
public Set getUnconnectedServers()
protected void setUnconnectedServers(Set unconnectedServers)
protected void addUnconnectedServer(String unconnectedServer)
public Set getConnectedClients()
protected void addConnectedClient(String connectedClient)
public Map getOutgoingGateways()
public Map getConnectedIncomingGateways()
protected void setConnectedIncomingGateways(Map connectedIncomingGateways)
public Map getClientQueueSizes()
protected void setClientQueueSizes(Map clientQueueSizes)
public int getClientQueueSize(String clientMemberId)
protected void putClientQueueSize(String clientMemberId, int size)
public Map getClientHealthStats()
protected void setClientHealthStats(Map stats)
public Object getClientHealthStats(String clientID)
clientID
- client for healthprotected void setClientHealthStats(String clientID, org.apache.geode.internal.admin.remote.ClientHealthStats stats)
public Map getRegionStatuses()
public Object getRegionStatus(String fullRegionPath)
fullRegionPath
- region pathprotected void putRegionStatus(String fullRegionPath, org.apache.geode.internal.cache.RegionStatus status)
public Serializable getMemberId()
protected void setMemberId(Serializable memberId)
public String getMemberName()
protected void setMemberName(String memberName)
public int getMcastPort()
protected void setMcastPort(int mcastPort)
public InetAddress getMcastAddress()
protected void setMcastAddress(InetAddress mcastAddress)
public InetAddress getHostAddress()
protected void setHostAddress(InetAddress hostAddress)
public String getBindAddress()
protected void setBindAddress(String bindAddress)
public String getLocators()
protected void setLocators(String locators)
public long getMaximumHeapSize()
protected void setMaximumHeapSize(long size)
public long getFreeHeapSize()
protected void setFreeHeapSize(long size)
public long getUsedHeapSize()
public long getUpTime()
public void setUpTime(long upTime)
protected void initialize(DistributedSystem distributedSystem)
protected void initializeInstanceVariables()
protected void initializeServer()
protected void initializeClient()
protected void initializeAll(DistributedSystem distributedSystem)
protected void initializeDistributedSystem(DistributedSystem distributedSystem)
protected void initializePeers(DistributedSystem distributedSystem)
protected void initializeMemory()
protected void initializeRegionSizes()