T
- public interface ICdmUuidCacher extends ICdmCacher
CacheManager
having a
Cache
initialised with a default configuration.
FIXME: This interface should actually be in an external project which also
includes the implemented cachers.Modifier and Type | Method and Description |
---|---|
boolean |
exists(java.util.UUID uuid)
Check if a CDM Entity with given UUID exists in the cache.
|
boolean |
existsAndIsNotNull(java.util.UUID uuid)
Check if a CDM Entity with given UUID exists in the cache
and that it is not null.
|
CdmBase |
getFromCache(java.util.UUID uuid)
Get a CDM Entity object with given UUID from the (default) cache.
|
CdmBase |
load(java.util.UUID uuid)
Load a CDM Entity object with given UUID.
|
void |
put(java.util.UUID uuid,
CdmBase cdmEntity)
Puts the (Key,Value) pair of (
UUID , CdmBase ),
in the cache |
dispose, exists, getFromCache, isCachable, load, put
void put(java.util.UUID uuid, CdmBase cdmEntity)
UUID
, CdmBase
),
in the cacheuuid
- cdmEntity
- CdmBase load(java.util.UUID uuid)
uuid
- of CDM Entity to returnCdmBase getFromCache(java.util.UUID uuid)
uuid
- boolean exists(java.util.UUID uuid)
uuid
- of CDM Entity to checkboolean existsAndIsNotNull(java.util.UUID uuid)
uuid
- of CDM Entity to checkCopyright © 2007-2020 EDIT. All Rights Reserved.