Original commit: elastic/x-pack-elasticsearch@03d4ae524c
This commit is contained in:
Areek Zillur 2014-10-07 13:10:40 -04:00
parent 533220e15a
commit 0306614c00
1 changed files with 1 additions and 14 deletions

View File

@ -31,24 +31,11 @@ import java.util.concurrent.atomic.AtomicBoolean;
*/
public class LicensesService extends AbstractLifecycleComponent<LicensesService> implements ClusterStateListener {
// private final Injector injector;
//private final ClusterService clusterService;
//private volatile ESLicenses licenses = null;//ImmutableMap.of();
private AtomicBoolean registerClusterStateListener = new AtomicBoolean(false);
@Inject
public LicensesService(Settings settings /*ClusterService clusterService, Injector injector*/) {
public LicensesService(Settings settings) {
super(settings);
//this.injector = injector;
//this.clusterService = clusterService;
// Doesn't make sense to maintain repositories on non-master and non-data nodes
// Nothing happens there anyway
//if (DiscoveryNode.dataNode(settings) || DiscoveryNode.masterNode(settings)) {
// clusterService.add(this);
//}
}
/**