Class AbstractLRUApplicableInterceptor

All Implemented Interfaces:
IServiceInvocationInterceptor
Direct Known Subclasses:
AuthenticationInterceptor

public abstract class AbstractLRUApplicableInterceptor extends ComponentThreadInterceptor
Abstract interceptor class that uses a LRU for caching applicable states of invocations for subsequent calls. Should be used whenever isApplicable method is expensive.
  • Field Details

    • applicables

      protected jadex.collection.LRU<Method,Boolean> applicables
      The LRU.
  • Constructor Details

    • AbstractLRUApplicableInterceptor

      public AbstractLRUApplicableInterceptor(jadex.core.impl.Component ia)
      Create a new AbstractLRUApplicableInterceptor.
  • Method Details