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>connectionCacheprivate OutboundConnectionCacheProbeProviderpp-
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.ObjectbackingStore()Connectionget(ContactInfo contactInfo)voidput(ContactInfo contactInfo, Connection connection)voidremove(ContactInfo contactInfo)java.lang.StringtoString()java.util.Collectionvalues()-
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:
getin interfaceOutboundConnectionCache
-
put
public void put(ContactInfo contactInfo, Connection connection)
- Specified by:
putin interfaceOutboundConnectionCache
-
remove
public void remove(ContactInfo contactInfo)
- Specified by:
removein interfaceOutboundConnectionCache
-
values
public java.util.Collection values()
- Specified by:
valuesin classConnectionCacheBase
-
backingStore
protected java.lang.Object backingStore()
- Specified by:
backingStorein classConnectionCacheBase
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-