|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface provides the configuration of the Connection. ETA defines that at least one implementation must be implemented by the ETA implementer. The required implementation takes all the information from the JAD/manifest
Field Summary | |
static int |
INFINITE
Indicates that connection attempts should be retried indefinitely |
Method Summary | |
void |
addReference()
Adds a reference to this connection configuration |
CollectorConfig |
getCollectorConfig()
Returns the collector configuration that this connection belongs too |
java.lang.String |
getCollectorHost()
Returns the collector Host in IPv4 "dotted decimal notation" |
java.lang.String |
getCollectorIdentifier()
Returns the collector identifier in IPv4 "dotted decimal notation" |
int |
getCollectorPort()
Returns a collector TCP port |
int |
getConnectionCount()
Returns the number of allowed connections |
java.lang.String |
getConnectionDescription()
Returns a verbal description of the connection |
int |
getConnectTimeout()
Returns a connect timeout in seconds |
ExporterConfig |
getExporterConfig()
Returns ExporterConfig - instance of the exporter configuration |
int |
getKeepAliveInterval()
Returns an exporter's keep alive interval in seconds |
int |
getReferenceCount()
Returns current reference count (number of existing connections that use this configuration) |
int |
getRetryCount()
Returns a number of retries for connection attempts |
int |
getRetryInterval()
Returns the interval between connection attempts, in seconds |
SessionConfig |
getSessionConfig(byte sessionId)
Returns the configuration of the session |
int |
getWaitingForCollectorsTimeout()
Returns the WaitingForCollectorsTimeout. |
boolean |
isPassiveConnection()
Returns true if the connection is passive false otherwise |
void |
removeReference()
Removes a reference from this connection configuration |
Field Detail |
public static final int INFINITE
Method Detail |
public void addReference()
public ExporterConfig getExporterConfig()
ExporterConfig
public int getConnectionCount()
public java.lang.String getConnectionDescription()
public int getConnectTimeout()
public java.lang.String getCollectorIdentifier()
public java.lang.String getCollectorHost()
public int getCollectorPort()
public CollectorConfig getCollectorConfig()
public int getKeepAliveInterval()
public int getReferenceCount()
public int getRetryCount()
public int getRetryInterval()
public boolean isPassiveConnection()
public void removeReference()
public int getWaitingForCollectorsTimeout()
public SessionConfig getSessionConfig(byte sessionId)
sessionId
- the session Id
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |