Package org.opendaylight.protocol.util
Class NoopReferenceCache
- java.lang.Object
- 
- org.opendaylight.protocol.util.NoopReferenceCache
 
- 
- All Implemented Interfaces:
- ReferenceCache
 
 public final class NoopReferenceCache extends Object implements ReferenceCache A simple reference cache which actually does not cache anything.
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NoopReferenceCachegetInstance()<T> TgetSharedReference(T object)Get a shared reference to an object.
 
- 
- 
- 
Method Detail- 
getSharedReferencepublic <T> T getSharedReference(T object) Description copied from interface:ReferenceCacheGet a shared reference to an object. The contract here is that the returned object is an instance of the same class and compares equal to the passed object.- Specified by:
- getSharedReferencein interface- ReferenceCache
- Parameters:
- object- An object to which you'd like to
- Returns:
- Shared reference to the object.
 
 - 
getInstancepublic static NoopReferenceCache getInstance() 
 
- 
 
-