@InterfaceAudience.Private public class Sleeper extends Object
public Sleeper(int sleep, Stoppable stopper)
sleep
- sleep time in millisecondsstopper
- When Stoppable.isStopped()
is true, this thread will
cleanup and exit cleanly.Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.