Class VirtualMeetingEntryIdsCacheService
java.lang.Object
fr.paris.lutece.portal.service.cache.AbstractCacheableService
fr.paris.lutece.plugins.appointment.modules.virtualmeeting.service.VirtualMeetingEntryIdsCacheService
- All Implemented Interfaces:
fr.paris.lutece.portal.service.cache.CacheableService,fr.paris.lutece.portal.service.util.LuteceService,Cloneable,net.sf.ehcache.event.CacheEventListener
public class VirtualMeetingEntryIdsCacheService
extends fr.paris.lutece.portal.service.cache.AbstractCacheableService
Cache service that stores the mapping from workflow ID to resolved guest/host entry IDs.
This avoids repeated DAO lookups (actions → tasks → configs) for the same workflow.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor — initialises the underlying ehcache region. -
Method Summary
Modifier and TypeMethodDescriptiongetEntryIds(int nIdWorkflow) Retrieves cached entry IDs for the given workflow.getName()voidputEntryIds(int nIdWorkflow, VirtualMeetingEntryIds entryIds) Stores entry IDs in the cache for the given workflow.Methods inherited from class fr.paris.lutece.portal.service.cache.AbstractCacheableService
clone, dispose, enableCache, getCache, getCacheSize, getFromCache, getInfos, getKeys, getMaxElements, getMemorySize, getStatistics, getTimeToLive, initCache, initCache, isCacheEnable, notifyElementEvicted, notifyElementExpired, notifyElementPut, notifyElementRemoved, notifyElementUpdated, notifyRemoveAll, putInCache, removeKey, resetCache
-
Constructor Details
-
VirtualMeetingEntryIdsCacheService
public VirtualMeetingEntryIdsCacheService()Constructor — initialises the underlying ehcache region.
-
-
Method Details
-
getName
-
getEntryIds
Retrieves cached entry IDs for the given workflow.- Parameters:
nIdWorkflow- the workflow ID- Returns:
- the cached entry IDs, or
nullif not in cache
-
putEntryIds
Stores entry IDs in the cache for the given workflow.- Parameters:
nIdWorkflow- the workflow IDentryIds- the entry IDs to cache
-