public class AcidOpenTxnsCounterService extends HouseKeeperServiceBase
hiveConf, isAliveCounter
Constructor and Description |
---|
AcidOpenTxnsCounterService() |
Modifier and Type | Method and Description |
---|---|
protected long |
getIntervalMs()
Determines how frequently the service is running its task.
|
protected Runnable |
getScheduedAction(HiveConf hiveConf,
AtomicInteger isAliveCounter)
The actual task implementation.
|
String |
getServiceDescription()
Returns short description of services this module provides.
|
protected long |
getStartDelayMs()
Delay in millis before first run of the task of this service.
|
getIsAliveCounter, start, stop
protected long getStartDelayMs()
HouseKeeperServiceBase
getStartDelayMs
in class HouseKeeperServiceBase
protected long getIntervalMs()
HouseKeeperServiceBase
getIntervalMs
in class HouseKeeperServiceBase
protected Runnable getScheduedAction(HiveConf hiveConf, AtomicInteger isAliveCounter)
HouseKeeperServiceBase
getScheduedAction
in class HouseKeeperServiceBase
public String getServiceDescription()
HouseKeeperService
Copyright © 2017 The Apache Software Foundation. All rights reserved.