C# Class amp.rabbit.transport.SimpleRoutingInfoCache

Inheritance: IRoutingInfoCache
Datei anzeigen Open project: Berico-Technologies/AMP

Protected Properties

Property Type Description
_cacheExpiryInSeconds int
_cacheLock object
_routingInfoCache System.Runtime.Caching.MemoryCache

Public Methods

Method Description
Dispose ( ) : void
GetIfPresent ( String topic ) : RoutingInfo
Put ( String topic, RoutingInfo routingInfo ) : void

Protected Methods

Method Description
SimpleRoutingInfoCache ( int cacheExpiryInSeconds ) : System

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GetIfPresent() public method

public GetIfPresent ( String topic ) : RoutingInfo
topic String
return amp.rabbit.topology.RoutingInfo

Put() public method

public Put ( String topic, RoutingInfo routingInfo ) : void
topic String
routingInfo amp.rabbit.topology.RoutingInfo
return void

SimpleRoutingInfoCache() protected method

protected SimpleRoutingInfoCache ( int cacheExpiryInSeconds ) : System
cacheExpiryInSeconds int
return System

Property Details

_cacheExpiryInSeconds protected_oe property

protected int _cacheExpiryInSeconds
return int

_cacheLock protected_oe property

protected object _cacheLock
return object

_routingInfoCache protected_oe property

protected MemoryCache,System.Runtime.Caching _routingInfoCache
return System.Runtime.Caching.MemoryCache