Package xal.tools

Class FreshProcessor

java.lang.Object
xal.tools.FreshProcessor
Direct Known Subclasses:
LatentProcessor

public class FreshProcessor extends Object
process on a separate thread pending requests dropping any previous ones
  • Constructor Details

    • FreshProcessor

      public FreshProcessor()
      Constructor
  • Method Details

    • clear

      public void clear()
      Clear pending requests
    • terminate

      public void terminate()
      Stop processing pending requests
    • post

      public boolean post(Runnable request)
      Post a new request to be processed replacing any pending request.
      Parameters:
      request - Runnable request to be processed
    • postProcess

      protected void postProcess() throws Exception
      Perform post processing
      Throws:
      Exception