Skip navigation links
C D E G H O R S T W 

C

contains(Discoverable) - Method in interface org.apache.twill.discovery.ServiceDiscovered
Checks if the given discoverable contains in the current discovery list.

D

discover(String) - Method in interface org.apache.twill.discovery.DiscoveryServiceClient
Discover service with the given name.
Discoverable - Class in org.apache.twill.discovery
Discoverable defines the attributes of service to be discovered.
Discoverable(String, InetSocketAddress, byte[]) - Constructor for class org.apache.twill.discovery.Discoverable
 
Discoverable(String, InetSocketAddress) - Constructor for class org.apache.twill.discovery.Discoverable
 
DiscoveryService - Interface in org.apache.twill.discovery
DiscoveryService defines interface for registering Discoverable.
DiscoveryServiceClient - Interface in org.apache.twill.discovery
Interface for DiscoveryServiceClient to discover services registered with DiscoveryService.

E

equals(Object) - Method in class org.apache.twill.discovery.Discoverable
 

G

getName() - Method in class org.apache.twill.discovery.Discoverable
 
getName() - Method in interface org.apache.twill.discovery.ServiceDiscovered
Returns the name of the service being discovered.
getPayload() - Method in class org.apache.twill.discovery.Discoverable
 
getSocketAddress() - Method in class org.apache.twill.discovery.Discoverable
 

H

hashCode() - Method in class org.apache.twill.discovery.Discoverable
 

O

onChange(ServiceDiscovered) - Method in interface org.apache.twill.discovery.ServiceDiscovered.ChangeListener
This method will be invoked when the discovery list changed.
org.apache.twill.discovery - package org.apache.twill.discovery
 

R

register(Discoverable) - Method in interface org.apache.twill.discovery.DiscoveryService
Registers a Discoverable service.

S

ServiceDiscovered - Interface in org.apache.twill.discovery
Represents the result of service discovery.
ServiceDiscovered.ChangeListener - Interface in org.apache.twill.discovery
Represents a callback for watching changes in the discovery list.

T

toString() - Method in class org.apache.twill.discovery.Discoverable
 

W

watchChanges(ServiceDiscovered.ChangeListener, Executor) - Method in interface org.apache.twill.discovery.ServiceDiscovered
Registers a ServiceDiscovered.ChangeListener to watch for changes in the discovery list.
C D E G H O R S T W 
Skip navigation links

Copyright © 2013-2020 The Apache Software Foundation. All rights reserved.