Package com.netflix.priam.scheduler

Examples of com.netflix.priam.scheduler.SimpleTimer


        }
    }

    public static TaskTimer getTimer()
    {
        return new SimpleTimer(JOBNAME);
    }
View Full Code Here


   
  }

    public static TaskTimer getTimer()
    {
        return new SimpleTimer(JOBNAME, 10L * 1000);
    }
View Full Code Here

        return "Tune-Cassandra";
    }

    public static TaskTimer getTimer()
    {
        return new SimpleTimer(JOBNAME);
    }
View Full Code Here

    /**
     * Run every 10 Sec
     */
    public static TaskTimer getTimer()
    {
        return new SimpleTimer(JOBNAME, 10L * 1000);
    }
View Full Code Here

        return JOBNAME;
    }

    public static TaskTimer getTimer()
    {
        return new SimpleTimer(JOBNAME);
    }
View Full Code Here

    /**
     * Run every 20 Sec
     */
    public static TaskTimer getTimer()
    {
        return new SimpleTimer(JOBNAME, 20L * 1000);
    }
View Full Code Here

        return JOBNAME;
    }

    public static TaskTimer getTimer(IConfiguration config)
    {
      return new SimpleTimer(JOBNAME, 60L * 1000); //every 1 min
    }
View Full Code Here

        }
    }

    public static TaskTimer getTimer(InstanceIdentity id)
    {
        SimpleTimer return_;
        if (id.isSeed())
            return_ = new SimpleTimer(JOBNAME, 120 * 1000 + ran.nextInt(120 * 1000));
        else
            return_ = new SimpleTimer(JOBNAME);
        return return_;
    }
View Full Code Here

TOP

Related Classes of com.netflix.priam.scheduler.SimpleTimer

Copyright © 2018 www.massapicom. 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.