|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mindtree.techworks.insight.spi.LogNamespace
public class LogNamespace
The LogNamespace
class qualifies the LogEvent class instance
with information that identifies the namespace of the instance.
The namespace information can be the file name, IP address and port number e.t.c.
depending on the source of the LogEvent.
LogEvent
,
Serialized FormConstructor Summary | |
---|---|
LogNamespace(java.lang.String sourceString,
java.lang.String localSourceString,
ReceiverFormat[] receiverFormat,
java.lang.String nodeId)
Constructor for this class. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object namespace)
Overriden superclass method |
java.lang.String |
getLocalSourceString()
|
java.lang.String |
getNamespaceAsString()
Returns the namespace details as a string of te form: [nodeId] sourceString |
java.lang.String |
getNodeId()
|
ReceiverFormat[] |
getReceiverFormat()
|
java.lang.String |
getSourceString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LogNamespace(java.lang.String sourceString, java.lang.String localSourceString, ReceiverFormat[] receiverFormat, java.lang.String nodeId)
sourceString
- the event source stringlocalSourceString
- null or the local source stringreceiverFormat
- the ReceiverFormat for this LogNamespacenodeId
- the Node if where the events originatedMethod Detail |
---|
public java.lang.String getNamespaceAsString()
public boolean equals(java.lang.Object namespace)
equals
in class java.lang.Object
the
- namespace that needs to be evaluated for equalspublic java.lang.String getNodeId()
public ReceiverFormat[] getReceiverFormat()
public java.lang.String getSourceString()
public java.lang.String getLocalSourceString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |