Skip navigation links
A B C D E G H I K L M O P R S T U V W 

A

addConfigListener(ConfigListener) - Method in class me.magnet.consultant.Consultant
 
addSettingListener(String, SettingListener) - Method in class me.magnet.consultant.Consultant
 
appliesTo(ServiceIdentifier) - Method in class me.magnet.consultant.ServiceIdentifier
 

B

build() - Method in class me.magnet.consultant.Consultant.Builder
Builds a new instance of the Consultant class using the specified arguments.
builder() - Static method in class me.magnet.consultant.Consultant
 

C

Check - Class in me.magnet.consultant
 
ConfigListener - Interface in me.magnet.consultant
This interface allows you to handle updates to the Properties object containing your service's configuration.
ConfigValidator - Interface in me.magnet.consultant
This interface allows you to validate the new config for your service, before it's actually exposed to your service.
Consultant - Class in me.magnet.consultant
The Consultant class allows you to retrieve the configuration for your application from Consul, and at the same time subscribe to changes to that configuration.
Consultant.Builder - Class in me.magnet.consultant
Allows you to build a custom Consultant object.
ConsultantConfigurationProvider - Class in me.magnet.consultant
The ConsultantConfigurationProvider class can be used when using Netflix's Governator library to bootstrap your application on service.
ConsultantConfigurationProvider(Consultant) - Constructor for class me.magnet.consultant.ConsultantConfigurationProvider
Creates a new ConsultantConfigurationProvider.
ConsultantConfigurationProvider(Consultant, DateFormat) - Constructor for class me.magnet.consultant.ConsultantConfigurationProvider
Creates a new ConsultantConfigurationProvider.
ConsultantException - Exception in me.magnet.consultant
 
ConsultantException(String) - Constructor for exception me.magnet.consultant.ConsultantException
 
ConsultantException(String, Throwable) - Constructor for exception me.magnet.consultant.ConsultantException
 
ConsultantException(Throwable) - Constructor for exception me.magnet.consultant.ConsultantException
 

D

deregisterService() - Method in class me.magnet.consultant.Consultant
 

E

equals(Object) - Method in class me.magnet.consultant.ServiceIdentifier
 

G

getAddress() - Method in class me.magnet.consultant.Service
 
getBooleanProperty(ConfigurationKey, Boolean) - Method in class me.magnet.consultant.ConsultantConfigurationProvider
 
getDatacenter() - Method in class me.magnet.consultant.ServiceIdentifier
 
getDateFormat() - Method in class me.magnet.consultant.ConsultantConfigurationProvider
 
getDateProperty(ConfigurationKey, Date) - Method in class me.magnet.consultant.ConsultantConfigurationProvider
 
getDoubleProperty(ConfigurationKey, Double) - Method in class me.magnet.consultant.ConsultantConfigurationProvider
 
getHostName() - Method in class me.magnet.consultant.ServiceIdentifier
 
getInstance() - Method in class me.magnet.consultant.ServiceIdentifier
 
getIntegerProperty(ConfigurationKey, Integer) - Method in class me.magnet.consultant.ConsultantConfigurationProvider
 
getKey() - Method in class me.magnet.consultant.KeyValueEntry
 
getLongProperty(ConfigurationKey, Long) - Method in class me.magnet.consultant.ConsultantConfigurationProvider
 
getNode() - Method in class me.magnet.consultant.Service
 
getProperties() - Method in class me.magnet.consultant.Consultant
 
getServiceAddress() - Method in class me.magnet.consultant.Service
 
getServiceId() - Method in class me.magnet.consultant.Service
 
getServiceIdentifier() - Method in class me.magnet.consultant.Consultant
 
getServiceName() - Method in class me.magnet.consultant.Service
 
getServiceName() - Method in class me.magnet.consultant.ServiceIdentifier
 
getServicePort() - Method in class me.magnet.consultant.Service
 
getServiceTags() - Method in class me.magnet.consultant.Service
 
getStringProperty(ConfigurationKey, String) - Method in class me.magnet.consultant.ConsultantConfigurationProvider
 
getValue() - Method in class me.magnet.consultant.KeyValueEntry
 

H

has(ConfigurationKey) - Method in class me.magnet.consultant.ConsultantConfigurationProvider
 
hashCode() - Method in class me.magnet.consultant.ServiceIdentifier
 

I

identifyAs(String) - Method in class me.magnet.consultant.Consultant.Builder
States the identify of this application.
identifyAs(String, String) - Method in class me.magnet.consultant.Consultant.Builder
States the identify of this application.
identifyAs(String, String, String) - Method in class me.magnet.consultant.Consultant.Builder
States the identify of this application.
identifyAs(String, String, String, String) - Method in class me.magnet.consultant.Consultant.Builder
States the identify of this application.

K

KeyValueEntry - Class in me.magnet.consultant
 
KeyValueEntry() - Constructor for class me.magnet.consultant.KeyValueEntry
 

L

list(String) - Method in class me.magnet.consultant.Consultant
 
locate(String) - Method in class me.magnet.consultant.Consultant
 

M

me.magnet.consultant - package me.magnet.consultant
 
moreSpecificThan(ServiceIdentifier) - Method in class me.magnet.consultant.ServiceIdentifier
 

O

onConfigUpdate(Properties) - Method in interface me.magnet.consultant.ConfigListener
This method is fired when the Properties object containing your service's configuration is modified.
onSettingUpdate(String, SettingListener) - Method in class me.magnet.consultant.Consultant.Builder
Specifies a callback listener which is notified of whenever the specified setting is updated.
onSettingUpdate(String, String, String) - Method in interface me.magnet.consultant.SettingListener
This method is fired when the a particular setting of your service's configuration is modified.
onValidConfig(ConfigListener) - Method in class me.magnet.consultant.Consultant.Builder
Specifies a callback listener which is notified of whenever a new and valid configuration is detected in Consul.

P

PropertiesUtil - Class in me.magnet.consultant
 
pullConfigFromConsul(boolean) - Method in class me.magnet.consultant.Consultant.Builder
Specifies that Consultant should or should not fetch configuration from Consul.

R

registerService(int) - Method in class me.magnet.consultant.Consultant
 
removeConfigListener(ConfigListener) - Method in class me.magnet.consultant.Consultant
 
removeSettingListener(String, SettingListener) - Method in class me.magnet.consultant.Consultant
 

S

Service - Class in me.magnet.consultant
 
Service() - Constructor for class me.magnet.consultant.Service
 
ServiceIdentifier - Class in me.magnet.consultant
 
ServiceRegistration - Class in me.magnet.consultant
 
SettingListener - Interface in me.magnet.consultant
This interface allows you to handle updates to a particular setting of your service's configuration.
shutdown() - Method in class me.magnet.consultant.Consultant
Tears any outstanding resources down.
startWith(Properties) - Method in class me.magnet.consultant.Consultant.Builder
Ensures that Consultant starts out with a default Properties object.
sync(Properties, Properties) - Static method in class me.magnet.consultant.PropertiesUtil
Copies all the properties from source to target.

T

toString() - Method in class me.magnet.consultant.ServiceIdentifier
 

U

usingExecutor(ScheduledExecutorService) - Method in class me.magnet.consultant.Consultant.Builder
States that Consultant should use a specific executor service for listening to configuration updates.

V

validateConfig(Properties) - Method in interface me.magnet.consultant.ConfigValidator
This method verifies if a new config as specified by the Properties object is valid or not.
validateConfigWith(ConfigValidator) - Method in class me.magnet.consultant.Consultant.Builder
Specifies the validator which is used to determine if a new configuration detected in Consul is valid, and may be published through the ConfigListener callback.

W

withConsulHost(String) - Method in class me.magnet.consultant.Consultant.Builder
Specifies where the Consul REST API can be reached on.
A B C D E G H I K L M O P R S T U V W 
Skip navigation links

Copyright © 2016. All rights reserved.