dk.netarkivet.monitor.webinterface
Interface StatusEntry

All Superinterfaces:
java.lang.Comparable<StatusEntry>
All Known Implementing Classes:
JMXStatusEntry

public interface StatusEntry
extends java.lang.Comparable<StatusEntry>

An interface that specifies the information available in our JMX log mbeans.


Method Summary
 java.lang.String getApplicationInstanceID()
          Get the instance id of the application that this status entry is from.
 java.lang.String getApplicationName()
          Get the name of the application that this status entry is from.
 java.lang.String getArchiveReplicaName()
          Get the replica id of the application that this status entry is represents.
 java.lang.String getHarvestPriority()
          Get the priority of the harvest queue that this status entry is from.
 java.lang.String getHTTPPort()
          Get the HTTP port used by the application this status entry is from.
 java.lang.String getIndex()
          Get the index in the list of most recent log messages that this status entry is from.
 java.lang.String getLogMessage(java.util.Locale l)
          Get the actual message.
 java.lang.String getMachineName()
          Get the name of the host (machine) this status entry is from.
 java.lang.String getPhysicalLocation()
          Get the (physical) location this status entry is from, e.g.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getPhysicalLocation

java.lang.String getPhysicalLocation()
Get the (physical) location this status entry is from, e.g. EAST.

Returns:
the (physical) location this status entry is from, e.g. EAST

getMachineName

java.lang.String getMachineName()
Get the name of the host (machine) this status entry is from.

Returns:
the name of the host (machine) this status entry is from.

getHTTPPort

java.lang.String getHTTPPort()
Get the HTTP port used by the application this status entry is from. Used for HTTP and self-identification.

Returns:
the HTTP port that the application that this status entry is from

getApplicationName

java.lang.String getApplicationName()
Get the name of the application that this status entry is from.

Returns:
the name of the application that this status entry is from.

getApplicationInstanceID

java.lang.String getApplicationInstanceID()
Get the instance id of the application that this status entry is from.

Returns:
the instance id of the application that this status entry is from.

getHarvestPriority

java.lang.String getHarvestPriority()
Get the priority of the harvest queue that this status entry is from.

Returns:
the priority of the harvest queue that this status entry is from.

getArchiveReplicaName

java.lang.String getArchiveReplicaName()
Get the replica id of the application that this status entry is represents.

Returns:
the replica id of the application that this status entry is represents.

getIndex

java.lang.String getIndex()
Get the index in the list of most recent log messages that this status entry is from.

Returns:
the index in the list of most recent log messages that this status entry is from.

getLogMessage

java.lang.String getLogMessage(java.util.Locale l)
Get the actual message.

Parameters:
l - the current locale (only used to translate errormessages)
Returns:
the actual status message