Package com.atlan.cache
Class RoleCache
Lazily-loaded cache for translating Atlan-internal roles into their various IDs.
-
Field Summary
Fields inherited from class com.atlan.cache.AbstractMassCache
bulkRefresh, lock -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidlookupById(String id) Logic to look up a single object for the cache.protected voidlookupByName(String name) Logic to look up a single object for the cache.protected voidLogic to refresh a specific cache en-masse (must be implemented).Methods inherited from class com.atlan.cache.AbstractMassCache
cache, cacheById, cacheByName, entrySet, getBulkRefresh, getById, getById, getByName, getByName, getIdForName, getIdForName, getIdFromName, getNameForId, getNameForId, getNameFromId, getObjectById, isEmpty, isIdKnown, isNameKnown, refresh
-
Constructor Details
-
RoleCache
-
-
Method Details
-
refreshCache
Logic to refresh a specific cache en-masse (must be implemented).- Specified by:
refreshCachein classAbstractMassCache<AtlanRole>- Throws:
AtlanException- on any error communicating with Atlan to refresh the cache of objects
-
lookupById
Logic to look up a single object for the cache.- Specified by:
lookupByIdin classAbstractMassCache<AtlanRole>- Parameters:
id- unique internal identifier for the object- Throws:
AtlanException- on any error communicating with Atlan
-
lookupByName
Logic to look up a single object for the cache.- Specified by:
lookupByNamein classAbstractMassCache<AtlanRole>- Parameters:
name- unique name for the object- Throws:
AtlanException- on any error communicating with Atlan
-