public class DatasetService
extends com.google.common.util.concurrent.AbstractExecutionThreadService
| Constructor and Description |
|---|
DatasetService(CConfiguration cConf,
NamespacedLocationFactory namespacedLocationFactory,
DiscoveryService discoveryService,
DiscoveryServiceClient discoveryServiceClient,
DatasetTypeManager typeManager,
MetricsCollectionService metricsCollectionService,
DatasetOpExecutor opExecutorClient,
MDSDatasetsRegistry mdsDatasets,
Set<DatasetMetricsReporter> metricReporters,
DatasetInstanceService datasetInstanceService,
StorageProviderNamespaceAdmin storageProviderNamespaceAdmin,
NamespaceStore namespaceStore) |
| Modifier and Type | Method and Description |
|---|---|
protected Executor |
executor() |
protected String |
getServiceName() |
protected void |
run() |
protected void |
shutDown() |
protected void |
startUp() |
String |
toString() |
protected void |
triggerShutdown() |
@Inject public DatasetService(CConfiguration cConf, NamespacedLocationFactory namespacedLocationFactory, DiscoveryService discoveryService, DiscoveryServiceClient discoveryServiceClient, DatasetTypeManager typeManager, MetricsCollectionService metricsCollectionService, DatasetOpExecutor opExecutorClient, MDSDatasetsRegistry mdsDatasets, Set<DatasetMetricsReporter> metricReporters, DatasetInstanceService datasetInstanceService, StorageProviderNamespaceAdmin storageProviderNamespaceAdmin, NamespaceStore namespaceStore) throws Exception
Exceptionprotected void startUp()
throws Exception
startUp in class com.google.common.util.concurrent.AbstractExecutionThreadServiceExceptionprotected String getServiceName()
getServiceName in class com.google.common.util.concurrent.AbstractExecutionThreadServiceprotected void run()
throws Exception
run in class com.google.common.util.concurrent.AbstractExecutionThreadServiceExceptionprotected void triggerShutdown()
triggerShutdown in class com.google.common.util.concurrent.AbstractExecutionThreadServiceprotected void shutDown()
throws Exception
shutDown in class com.google.common.util.concurrent.AbstractExecutionThreadServiceExceptionpublic String toString()
toString in class com.google.common.util.concurrent.AbstractExecutionThreadServiceprotected Executor executor()
executor in class com.google.common.util.concurrent.AbstractExecutionThreadServiceCopyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.