Class OutboundConnectionState<C extends Connection>
- java.lang.Object
-
- com.sun.corba.ee.impl.transport.connection.OutboundConnectionState<C>
-
@ManagedData public class OutboundConnectionState<C extends Connection> extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classOutboundConnectionState.ConnectionStateValue
-
Field Summary
Fields Modifier and Type Field Description private intbusyCount(package private) ContactInfo<C>cinfo(package private) Cconnectionprivate OutboundConnectionState.ConnectionStateValuecsv(package private) OutboundCacheEntry<C>entry(package private) intexpectedResponseCount(package private) ConcurrentQueue.Handle<C>reclaimableHandle
-
Constructor Summary
Constructors Constructor Description OutboundConnectionState(ContactInfo<C> cinfo, OutboundCacheEntry<C> entry, C conn)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidacquire()private intbusyCount()private OutboundCacheEntry<C>cacheEntry()voidclose()private Cconnection()private ContactInfo<C>contactInfo()private voiddisplay(java.lang.String m, java.lang.Object value)private intexpectedResponseCount()booleanisBusy()booleanisIdle()booleanisReclaimable()private voidmsg(java.lang.String m)intrelease(int numResponsesExpected)private voidremoveFromReclaim()booleanresponseReceived()voidsetReclaimableHandle(ConcurrentQueue.Handle<C> handle)private OutboundConnectionState.ConnectionStateValuestate()java.lang.StringtoString()
-
-
-
Field Detail
-
csv
private OutboundConnectionState.ConnectionStateValue csv
-
cinfo
final ContactInfo<C extends Connection> cinfo
-
connection
final C extends Connection connection
-
entry
final OutboundCacheEntry<C extends Connection> entry
-
busyCount
private int busyCount
-
expectedResponseCount
int expectedResponseCount
-
reclaimableHandle
ConcurrentQueue.Handle<C extends Connection> reclaimableHandle
-
-
Constructor Detail
-
OutboundConnectionState
public OutboundConnectionState(ContactInfo<C> cinfo, OutboundCacheEntry<C> entry, C conn)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
state
@ManagedAttribute @Description("The current state of this connection") private OutboundConnectionState.ConnectionStateValue state()
-
contactInfo
@ManagedAttribute @Description("The contactInfo used to create this connection") private ContactInfo<C> contactInfo()
-
connection
@ManagedAttribute @Description("The underlying connection for this ConnectionState") private C connection()
-
cacheEntry
@ManagedAttribute private OutboundCacheEntry<C> cacheEntry()
-
busyCount
@ManagedAttribute private int busyCount()
-
expectedResponseCount
@ManagedAttribute private int expectedResponseCount()
-
isReclaimable
@ManagedAttribute public boolean isReclaimable()
-
isBusy
public boolean isBusy()
-
isIdle
public boolean isIdle()
-
acquire
public void acquire()
-
setReclaimableHandle
public void setReclaimableHandle(ConcurrentQueue.Handle<C> handle)
-
msg
@InfoMethod private void msg(java.lang.String m)
-
display
@InfoMethod private void display(java.lang.String m, java.lang.Object value)
-
release
public int release(int numResponsesExpected)
-
responseReceived
public boolean responseReceived()
-
close
public void close() throws java.io.IOException- Throws:
java.io.IOException
-
removeFromReclaim
private void removeFromReclaim()
-
-