Examples of PollingThread


Examples of com.ikanow.infinit.e.application.handlers.polls.PollingThread

 
    // POLLING THREADS

  public static void setupPollingHandlers()
  {
        PollingThread poll1 = new PollingThread(new LogstashTestRequestPollHandler(), 2*1000L);
        poll1.startThread();
       
        PollingThread poll2 = new PollingThread(new LogstashHarvestPollHandler(), 10*1000L);
        poll2.startThread();
       
        PollingThread poll3 = new PollingThread(new LogstashIndexAgeOutPollHandler(), 3600*1000L);
        poll3.startThread();
       
        PollingThread poll4 = new PollingThread(new LogstashSourceDeletionPollHandler(), 10*1000L);
        poll4.startThread();       
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.