Class TemplatesManager
java.lang.Object
com.gigaspaces.internal.server.space.TemplatesManager
- Since:
- 8.0.4
- Author:
- Niv Ingberg
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classHolds all the counters for specific type of notify templates -
Constructor Summary
ConstructorsConstructorDescriptionTemplatesManager(CacheManager cacheManager, int numNotifyFifoThreads, int numNonNotifyFifoThreads) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanbooleananyNonNotifyFifoTemplates(int threadNumber) booleanbooleananyNotifyFifoForNonFifoTypePerOperation(IServerTypeDesc entryTypeDesc, int operation) booleanbooleananyNotifyFifoLeaseExpirationTemplates(int tpartition) booleanbooleanbooleananyNotifyFifoTakeTemplates(int tpartition) booleanbooleanbooleanbooleananyNotifyFifoUpdateTemplates(int tpartition) booleanbooleanbooleananyNotifyFifoWriteTemplates(int tpartition) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanreturn true if any notify templates MAY BE stored- no lock on APIs.getTemplate(String uid) booleanisBlobStoreClearTakeOptimizationAllowedNotify(IServerTypeDesc type, boolean onBackup) booleanisEmpty()put(TemplateCacheInfo template) putIfAbsent(TemplateCacheInfo template) voidvoid
-
Constructor Details
-
TemplatesManager
public TemplatesManager(CacheManager cacheManager, int numNotifyFifoThreads, int numNonNotifyFifoThreads)
-
-
Method Details
-
isEmpty
public boolean isEmpty() -
anyNotifyWriteTemplates
public boolean anyNotifyWriteTemplates()return true if any notify templates MAY BE stored- no lock on APIs. -
anyNotifyUpdateTemplates
public boolean anyNotifyUpdateTemplates() -
anyNotifyUnmatchedTemplates
public boolean anyNotifyUnmatchedTemplates() -
anyNotifyMatchedTemplates
public boolean anyNotifyMatchedTemplates() -
anyNotifyRematchedTemplates
public boolean anyNotifyRematchedTemplates() -
anyNotifyTakeTemplates
public boolean anyNotifyTakeTemplates() -
anyDurableNotifyTakeTemplates
public boolean anyDurableNotifyTakeTemplates() -
anyNotifyLeaseTemplates
public boolean anyNotifyLeaseTemplates() -
anyNonNotifyTemplates
public boolean anyNonNotifyTemplates() -
anyFifoTemplates
public boolean anyFifoTemplates() -
anyNotifyFifoTemplatesForNonFifoType
public boolean anyNotifyFifoTemplatesForNonFifoType() -
anyNotifyFifoWriteTemplates
public boolean anyNotifyFifoWriteTemplates() -
anyNotifyFifoWriteTemplates
public boolean anyNotifyFifoWriteTemplates(int tpartition) -
anyNotifyFifoWriteTemplatesForNonFifoType
public boolean anyNotifyFifoWriteTemplatesForNonFifoType() -
anyNotifyFifoUpdateTemplates
public boolean anyNotifyFifoUpdateTemplates() -
anyNotifyFifoUpdateTemplates
public boolean anyNotifyFifoUpdateTemplates(int tpartition) -
anyNotifyFifoUpdateTemplatesForNonFifoType
public boolean anyNotifyFifoUpdateTemplatesForNonFifoType() -
anyNotifyFifoTakeTemplates
public boolean anyNotifyFifoTakeTemplates() -
anyNotifyFifoTakeTemplates
public boolean anyNotifyFifoTakeTemplates(int tpartition) -
anyNotifyFifoTakeTemplatesForNonFifoType
public boolean anyNotifyFifoTakeTemplatesForNonFifoType() -
anyNotifyFifoLeaseExpirationTemplates
public boolean anyNotifyFifoLeaseExpirationTemplates() -
anyNotifyFifoLeaseExpirationTemplates
public boolean anyNotifyFifoLeaseExpirationTemplates(int tpartition) -
anyNotifyFifoLeaseExpirationTemplatesForNonFifoType
public boolean anyNotifyFifoLeaseExpirationTemplatesForNonFifoType() -
anyNonNotifyFifoTemplates
public boolean anyNonNotifyFifoTemplates() -
anyNonNotifyFifoTemplates
public boolean anyNonNotifyFifoTemplates(int threadNumber) -
anyNotifyFifoForNonFifoTypePerOperation
public boolean anyNotifyFifoForNonFifoTypePerOperation(IServerTypeDesc entryTypeDesc, int operation) -
getAllTemplatesKeys
-
get
-
put
-
putIfAbsent
-
remove
-
getTemplate
-
registerDurableNotifyTemplate
-
unregisterDurableNotifyTemplate
-
isBlobStoreClearTakeOptimizationAllowedNotify
public boolean isBlobStoreClearTakeOptimizationAllowedNotify(IServerTypeDesc type, boolean onBackup)
-