Package org.opennms.netmgt.threshd
Class ThresholdingSessionKeyImpl
- java.lang.Object
-
- org.opennms.netmgt.threshd.ThresholdingSessionKeyImpl
-
- All Implemented Interfaces:
ThresholdingSessionKey
public class ThresholdingSessionKeyImpl extends java.lang.Object implements ThresholdingSessionKey
-
-
Constructor Summary
Constructors Constructor Description ThresholdingSessionKeyImpl(int nodeId, java.lang.String ipAddress, java.lang.String serviceName, java.lang.String resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getLocation()
int
getNodeId()
java.lang.String
getResource()
java.lang.String
getServiceName()
int
hashCode()
-
-
-
Method Detail
-
getLocation
public java.lang.String getLocation()
- Specified by:
getLocation
in interfaceThresholdingSessionKey
-
getNodeId
public int getNodeId()
- Specified by:
getNodeId
in interfaceThresholdingSessionKey
-
getServiceName
public java.lang.String getServiceName()
- Specified by:
getServiceName
in interfaceThresholdingSessionKey
-
getResource
public java.lang.String getResource()
- Specified by:
getResource
in interfaceThresholdingSessionKey
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-