xmlBlaster 2.1.0 API

org.xmlBlaster.engine.admin.extern.snmp
Class NodeEntryImplPeer

java.lang.Object
  extended by org.xmlBlaster.engine.admin.extern.snmp.NodeEntryImplPeer

public class NodeEntryImplPeer
extends java.lang.Object

NodeEntryImplPeer is the implementation side of a bridge pattern. Implements the methods, which are called by NodeEntryImpl.

Version:
@VERSION@
Author:
Udo Thalmann

Field Summary
private  long clientThreshold
           
private  java.lang.String errorLogfile
           
private  long freeMem
           
private  java.lang.String hostname
           
private  int logLevel
           
private  long maxClients
           
private  java.lang.String nodeName
           
private  long nodeUptime
           
private  long numClients
           
private  long port
           
private  int runLevel
           
private  long totalMem
           
private  long usedMem
           
 
Constructor Summary
NodeEntryImplPeer(java.lang.String nodeName, java.lang.String hostname, long port, long maxClients, long clientThreshold, java.lang.String errorLogfile, int logLevel)
          Initializes mib variables.
 
Method Summary
 long get_clientThreshold()
          Gets clientThreshold from xmlBlaster application.
 java.lang.String get_errorLogfile()
          Gets errorLogfile from xmlBlaster application.
 long get_freeMem()
          Gets freeMem from xmlBlaster application.
 java.lang.String get_hostname()
          Gets hostname from xmlBlaster application.
 int get_logLevel()
          Gets logLevel from xmlBlaster application.
 long get_maxClients()
          Gets maxClients from xmlBlaster application.
 java.lang.String get_nodeName()
          Gets nodeName from xmlBlaster application.
 long get_nodeUptime()
          Gets nodeUptime from xmlBlaster application.
 long get_numClients()
          Gets numClients from xmlBlaster application.
 long get_port()
          Gets port from xmlblaster application.
 int get_runLevel()
          Gets runLevel from xmlBlaster application.
 long get_totalMem()
          Gets totalMem from xmlBlaster application.
 long get_usedMem()
          Gets usedMem from xmlBlaster application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nodeName

private java.lang.String nodeName

nodeUptime

private long nodeUptime

totalMem

private long totalMem

usedMem

private long usedMem

freeMem

private long freeMem

hostname

private java.lang.String hostname

port

private long port

numClients

private long numClients

maxClients

private long maxClients

clientThreshold

private long clientThreshold

errorLogfile

private java.lang.String errorLogfile

logLevel

private int logLevel

runLevel

private int runLevel
Constructor Detail

NodeEntryImplPeer

public NodeEntryImplPeer(java.lang.String nodeName,
                         java.lang.String hostname,
                         long port,
                         long maxClients,
                         long clientThreshold,
                         java.lang.String errorLogfile,
                         int logLevel)
Initializes mib variables.

Parameters:
NodeName - name of mom instance.
Hostname - name of host.
Port - port number.
MaxClients - maximum number of mom clients.
ClientThreshold - threshold number of mom clients.
ErrorLogfile - name of error logfile.
LogLevel - degree of log level (errors, warnings, infos).
Method Detail

get_nodeName

public java.lang.String get_nodeName()
Gets nodeName from xmlBlaster application.

Returns:
NodeName name of an xmlBlaster node.

get_nodeUptime

public long get_nodeUptime()
Gets nodeUptime from xmlBlaster application.

Returns:
NodeUptime uptime of an xmlBlaster node.

get_totalMem

public long get_totalMem()
Gets totalMem from xmlBlaster application.

Returns:
TotalMem total memory of the java virtual machine, where the xmlBlaster runs.

get_usedMem

public long get_usedMem()
Gets usedMem from xmlBlaster application.

Returns:
UsedMem used memory of the java virtual machine, where the xmlBlaster runs.

get_freeMem

public long get_freeMem()
Gets freeMem from xmlBlaster application.

Returns:
FreeMem: free memory of the java virtual machine, where the xmlBlaster runs.

get_hostname

public java.lang.String get_hostname()
Gets hostname from xmlBlaster application.

Returns:
Hostname name of the host, where the xmlBlaster runs.

get_port

public long get_port()
Gets port from xmlblaster application.

Returns:
Port identifies the xmlBlaster port.

get_numClients

public long get_numClients()
Gets numClients from xmlBlaster application.

Returns:
NumClients actual number of clients in the clientTable.

get_maxClients

public long get_maxClients()
Gets maxClients from xmlBlaster application.

Returns:
MaxClients maximum number of clients in the clientTable.

get_clientThreshold

public long get_clientThreshold()
Gets clientThreshold from xmlBlaster application.

Returns:
ClientThreshold threshold (%) number of clients in the clientTable.

get_errorLogfile

public java.lang.String get_errorLogfile()
Gets errorLogfile from xmlBlaster application.

Returns:
ErrorLogfile name of the error logfile.

get_logLevel

public int get_logLevel()
Gets logLevel from xmlBlaster application.

Returns:
LogLevel various degrees of log levels. 0 = errors, 1 = warnings, 2 = infos.

get_runLevel

public int get_runLevel()
Gets runLevel from xmlBlaster application.

Returns:
RunLevel various degrees of log levels. 0 = halted, 3 = standby, 6 = cleanup, 10 = running

xmlBlaster 2.1.0 API

Copyright © 1999-2011 The xmlBlaster.org contributers.