160161162163164165166167
partitionsToSleep.add(partition); } @Override public TimeOutStateModel createNewStateModel(String stateUnitKey) { return new TimeOutStateModel(new SleepTransition(_sleepTime), partitionsToSleep.contains(stateUnitKey)); }
163164165166167168169170
partitionsToSleep.add(partition); } @Override public TimeOutStateModel createStateTransitionHandler(PartitionId partition) { return new TimeOutStateModel(new SleepTransition(_sleepTime), partitionsToSleep.contains(partition)); }
174175176177178179180
} @Override public TimeOutStateModel createNewStateModel(String stateUnitKey) { return new TimeOutStateModel(new SleepTransition(_sleepTime), partitionsToSleep.contains(stateUnitKey)); }