Class TemplatesManager

java.lang.Object
com.gigaspaces.internal.server.space.TemplatesManager

public class TemplatesManager extends Object
Since:
8.0.4
Author:
Niv Ingberg
  • 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

      public Enumeration<String> getAllTemplatesKeys()
    • get

      public TemplateCacheInfo get(String uid)
    • put

      public TemplateCacheInfo put(TemplateCacheInfo template)
    • putIfAbsent

      public TemplateCacheInfo putIfAbsent(TemplateCacheInfo template)
    • remove

      public TemplateCacheInfo remove(String uid)
    • getTemplate

      public ITemplateHolder getTemplate(String uid)
    • registerDurableNotifyTemplate

      public void registerDurableNotifyTemplate(NotifyTemplateHolder template)
    • unregisterDurableNotifyTemplate

      public void unregisterDurableNotifyTemplate(NotifyTemplateHolder template)
    • isBlobStoreClearTakeOptimizationAllowedNotify

      public boolean isBlobStoreClearTakeOptimizationAllowedNotify(IServerTypeDesc type, boolean onBackup)