Package com.sun.corba.ee.impl.transport
Class OutboundConnectionCacheImpl
- java.lang.Object
-
- com.sun.corba.ee.impl.transport.ConnectionCacheBase
-
- com.sun.corba.ee.impl.transport.OutboundConnectionCacheImpl
-
- All Implemented Interfaces:
ConnectionCache
,OutboundConnectionCache
@ManagedObject @Description("Cache of connections originated by the ORB") @AMXMetadata(type="corba-outbound-connection-cache-mon", group="monitoring") public class OutboundConnectionCacheImpl extends ConnectionCacheBase implements OutboundConnectionCache
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Map<ContactInfo,Connection>
connectionCache
private OutboundConnectionCacheProbeProvider
pp
-
Fields inherited from class com.sun.corba.ee.impl.transport.ConnectionCacheBase
cacheType, monitoringName, orb, timestamp, wrapper
-
-
Constructor Summary
Constructors Constructor Description OutboundConnectionCacheImpl(ORB orb, ContactInfo contactInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Object
backingStore()
Connection
get(ContactInfo contactInfo)
void
put(ContactInfo contactInfo, Connection connection)
void
remove(ContactInfo contactInfo)
java.lang.String
toString()
java.util.Collection
values()
-
Methods inherited from class com.sun.corba.ee.impl.transport.ConnectionCacheBase
cacheStatisticsInfo, close, dprintCreation, getCacheType, getMonitoringName, numberOfBusyConnections, numberOfConnections, numberOfIdleConnections, reclaim, stampTime
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.sun.corba.ee.spi.transport.ConnectionCache
close, getCacheType, getMonitoringName, numberOfBusyConnections, numberOfConnections, numberOfIdleConnections, reclaim, stampTime
-
-
-
-
Field Detail
-
connectionCache
protected java.util.Map<ContactInfo,Connection> connectionCache
-
pp
private OutboundConnectionCacheProbeProvider pp
-
-
Constructor Detail
-
OutboundConnectionCacheImpl
public OutboundConnectionCacheImpl(ORB orb, ContactInfo contactInfo)
-
-
Method Detail
-
get
public Connection get(ContactInfo contactInfo)
- Specified by:
get
in interfaceOutboundConnectionCache
-
put
public void put(ContactInfo contactInfo, Connection connection)
- Specified by:
put
in interfaceOutboundConnectionCache
-
remove
public void remove(ContactInfo contactInfo)
- Specified by:
remove
in interfaceOutboundConnectionCache
-
values
public java.util.Collection values()
- Specified by:
values
in classConnectionCacheBase
-
backingStore
protected java.lang.Object backingStore()
- Specified by:
backingStore
in classConnectionCacheBase
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-