@Test public void testSetStandardDeviationInterval() throws Exception { TimeInterval defaultStandardDeviationInterval = new TimeInterval(20L, TimeUnit.SECONDS); TimeInterval standardDeviationInterval = new TimeInterval(60L, TimeUnit.SECONDS); GaussianIntervalPoller p = new GaussianIntervalPoller(); assertNull(p.getStandardDeviationInterval()); assertEquals(defaultStandardDeviationInterval.toMilliseconds(), p.standardDeviationInterval()); p.setStandardDeviationInterval(standardDeviationInterval); assertEquals(standardDeviationInterval, p.getStandardDeviationInterval()); assertEquals(standardDeviationInterval.toMilliseconds(), p.standardDeviationInterval()); p.setStandardDeviationInterval(null); assertNull(p.getStandardDeviationInterval()); assertEquals(defaultStandardDeviationInterval.toMilliseconds(), p.standardDeviationInterval()); }
public void setStandardDeviationInterval(TimeInterval standardDeviationInterval) { this.standardDeviationInterval = standardDeviationInterval; }
GaussianIntervalPoller extends ScheduledTaskPoller { public void setStandardDeviationInterval(TimeInterval standardDeviationInterval) { this.standardDeviationInterval = standardDeviationInterval; } }
GaussianIntervalPoller extends ScheduledTaskPoller { public void setStandardDeviationInterval(TimeInterval standardDeviationInterval) { this.standardDeviationInterval = standardDeviationInterval; } GaussianIntervalPoller();  GaussianIntervalPoller(TimeInterval meanInterval, TimeInterval standardDeviationInterval); }
GaussianIntervalPoller extends ScheduledTaskPoller { public void setStandardDeviationInterval(TimeInterval standardDeviationInterval) { this.standardDeviationInterval = standardDeviationInterval; } GaussianIntervalPoller();  GaussianIntervalPoller(TimeInterval meanInterval, TimeInterval standardDeviationInterval); @Override void init(); TimeInterval getMeanInterval(); void setMeanInterval(TimeInterval meanInterval); TimeInterval getStandardDeviationInterval(); void setStandardDeviationInterval(TimeInterval standardDeviationInterval); }
GaussianIntervalPoller extends ScheduledTaskPoller { public void setStandardDeviationInterval(TimeInterval standardDeviationInterval) { this.standardDeviationInterval = standardDeviationInterval; } GaussianIntervalPoller();  GaussianIntervalPoller(TimeInterval meanInterval, TimeInterval standardDeviationInterval); @Override void init(); TimeInterval getMeanInterval(); void setMeanInterval(TimeInterval meanInterval); TimeInterval getStandardDeviationInterval(); void setStandardDeviationInterval(TimeInterval standardDeviationInterval);  }