public class CoordMaterializeTriggerService extends Object implements Service
Modifier and Type | Field and Description |
---|---|
static String |
CONF_CALLABLE_BATCH_SIZE
The number of callables to be queued in a batch.
|
static String |
CONF_LOOKUP_INTERVAL
Time interval, in seconds, at which the Job materialization service will be scheduled to run.
|
static String |
CONF_MATERIALIZATION_SYSTEM_LIMIT
The number of coordinator jobs to be picked for materialization at a given time.
|
static String |
CONF_MATERIALIZATION_WINDOW
This configuration defined the duration for which job should be materialized in future
|
static String |
CONF_PREFIX |
static String |
CONF_SCHEDULING_INTERVAL |
DEFAULT_LOCK_TIMEOUT, lockTimeout
Constructor and Description |
---|
CoordMaterializeTriggerService() |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroy the service.
|
Class<? extends Service> |
getInterface()
Return the public interface of the service.
|
void |
init(Services services)
Initialize the service.
|
public static final String CONF_PREFIX
public static final String CONF_LOOKUP_INTERVAL
public static final String CONF_SCHEDULING_INTERVAL
public static final String CONF_MATERIALIZATION_WINDOW
public static final String CONF_CALLABLE_BATCH_SIZE
public static final String CONF_MATERIALIZATION_SYSTEM_LIMIT
public CoordMaterializeTriggerService()
public void init(Services services) throws ServiceException
Service
Invoked by the Service
singleton at start up time.
init
in interface Service
services
- services singleton initializing the service.ServiceException
- thrown if the service could not initialize.public void destroy()
Service
Invoked by the Service
singleton at shutdown time.
public Class<? extends Service> getInterface()
Service
Services are retrieved by its public interface. Specializations of services must return the public interface.
getInterface
in interface Service
Copyright © 2018 Apache Software Foundation. All rights reserved.