Package | Description |
---|---|
org.apache.hadoop.hive.llap.registry |
Modifier and Type | Method and Description |
---|---|
ServiceInstance |
ServiceInstanceSet.getInstance(String name)
Get an instance by worker identity.
|
Modifier and Type | Method and Description |
---|---|
Map<String,ServiceInstance> |
ServiceInstanceSet.getAll()
Get an instance mapping which map worker identity to each instance.
|
List<ServiceInstance> |
ServiceInstanceSet.getAllInstancesOrdered()
Gets a list containing all the instances.
|
Set<ServiceInstance> |
ServiceInstanceSet.getByHost(String host)
Get a list of service instances for a given host.
|
Modifier and Type | Method and Description |
---|---|
void |
ServiceInstanceStateChangeListener.onCreate(ServiceInstance serviceInstance)
Called when new
ServiceInstance is created. |
void |
ServiceInstanceStateChangeListener.onRemove(ServiceInstance serviceInstance)
Called when an existing
ServiceInstance is removed. |
void |
ServiceInstanceStateChangeListener.onUpdate(ServiceInstance serviceInstance)
Called when an existing
ServiceInstance is updated. |
Copyright © 2016 The Apache Software Foundation. All rights reserved.