Class TagScriptManager.TagScriptDispatcher

  • All Implemented Interfaces:
    TagScriptEvaluator, java.lang.Runnable
    Enclosing class:
    TagScriptManager

    protected class TagScriptManager.TagScriptDispatcher
    extends java.lang.Object
    implements java.lang.Runnable, TagScriptEvaluator
    This is the actual returned evaluator. The basic goal is that we want to execute tasks asynchronously, without allowing them to back up. So we create one of these per tag, and it manages tracking the number of outstanding events.
    • Constructor Detail

      • TagScriptDispatcher

        public TagScriptDispatcher()
    • Method Detail

      • getDefinedIds

        public java.util.Set<java.lang.String> getDefinedIds()
        Description copied from interface: TagScriptEvaluator
        Returns the script ids that are defined on this evaluator. Primarily for information purposes, since the evaluator doesn't mind if invoke is called for non-defined ids.
        Specified by:
        getDefinedIds in interface TagScriptEvaluator
      • size

        public int size()
      • maybeSchedule

        protected void maybeSchedule()
      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable