Package org.apache.storm.messaging
Class ConnectionWithStatus
- java.lang.Object
-
- org.apache.storm.messaging.ConnectionWithStatus
-
- All Implemented Interfaces:
AutoCloseable
,IConnection
- Direct Known Subclasses:
Client
public abstract class ConnectionWithStatus extends Object implements IConnection
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConnectionWithStatus.Status
-
Constructor Summary
Constructors Constructor Description ConnectionWithStatus()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract ConnectionWithStatus.Status
status()
whether this connection is available to transfer data.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.storm.messaging.IConnection
close, getLoad, getPort, send, sendBackPressureStatus, sendLoadMetrics
-
-
-
-
Method Detail
-
status
public abstract ConnectionWithStatus.Status status()
whether this connection is available to transfer data.
-
-