public class TemplatesManager extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TemplatesManager.FifoTemplatesData
Holds all the counters for specific type of notify templates
|
Constructor and Description |
---|
TemplatesManager(CacheManager cacheManager,
int numNotifyFifoThreads,
int numNonNotifyFifoThreads) |
public TemplatesManager(CacheManager cacheManager, int numNotifyFifoThreads, int numNonNotifyFifoThreads)
public boolean isEmpty()
public boolean anyNotifyWriteTemplates()
public boolean anyNotifyUpdateTemplates()
public boolean anyNotifyUnmatchedTemplates()
public boolean anyNotifyMatchedTemplates()
public boolean anyNotifyRematchedTemplates()
public boolean anyNotifyTakeTemplates()
public boolean anyDurableNotifyTakeTemplates()
public boolean anyNotifyLeaseTemplates()
public boolean anyNonNotifyTemplates()
public boolean anyFifoTemplates()
public boolean anyNotifyFifoTemplatesForNonFifoType()
public boolean anyNotifyFifoWriteTemplates()
public boolean anyNotifyFifoWriteTemplates(int tpartition)
public boolean anyNotifyFifoWriteTemplatesForNonFifoType()
public boolean anyNotifyFifoUpdateTemplates()
public boolean anyNotifyFifoUpdateTemplates(int tpartition)
public boolean anyNotifyFifoUpdateTemplatesForNonFifoType()
public boolean anyNotifyFifoTakeTemplates()
public boolean anyNotifyFifoTakeTemplates(int tpartition)
public boolean anyNotifyFifoTakeTemplatesForNonFifoType()
public boolean anyNotifyFifoLeaseExpirationTemplates()
public boolean anyNotifyFifoLeaseExpirationTemplates(int tpartition)
public boolean anyNotifyFifoLeaseExpirationTemplatesForNonFifoType()
public boolean anyNonNotifyFifoTemplates()
public boolean anyNonNotifyFifoTemplates(int threadNumber)
public boolean anyNotifyFifoForNonFifoTypePerOperation(IServerTypeDesc entryTypeDesc, int operation)
public Enumeration<String> getAllTemplatesKeys()
public TemplateCacheInfo get(String uid)
public TemplateCacheInfo put(TemplateCacheInfo template)
public TemplateCacheInfo putIfAbsent(TemplateCacheInfo template)
public TemplateCacheInfo remove(String uid)
public ITemplateHolder getTemplate(String uid)
public void registerDurableNotifyTemplate(NotifyTemplateHolder template)
public void unregisterDurableNotifyTemplate(NotifyTemplateHolder template)
public boolean isBlobStoreClearTakeOptimizationAllowedNotify(IServerTypeDesc type, boolean onBackup)
Copyright © GigaSpaces.