A C D E F G I L M P R S U 

A

AbstractESComponent - Class in io.apiman.gateway.engine.es
Base class for the elasticsearch component impls.
AbstractESComponent(Map<String, String>) - Constructor for class io.apiman.gateway.engine.es.AbstractESComponent
Constructor.
accept(String, RateBucketPeriod, long, long, IAsyncResultHandler<RateLimitResponse>) - Method in class io.apiman.gateway.engine.es.ESRateLimiterComponent
 

C

CACHE_INDEX_NAME - Static variable in class io.apiman.gateway.engine.es.ESConstants
 
cacheApplication(Application) - Method in class io.apiman.gateway.engine.es.CachingESRegistry
 
cacheService(Service) - Method in class io.apiman.gateway.engine.es.CachingESRegistry
Called to cache the service for fast lookup later.
CachingESRegistry - Class in io.apiman.gateway.engine.es
Extends the ESRegistry to provide single-node caching.
CachingESRegistry(Map<String, String>) - Constructor for class io.apiman.gateway.engine.es.CachingESRegistry
Constructor.
checkCacheVersion() - Method in class io.apiman.gateway.engine.es.PollCachingESRegistry
Checks the ES store to see if the 'dataVersion' entry has been updated with a newer version #.
checkService(ServiceContract, IAsyncResultHandler<ServiceContract>) - Method in class io.apiman.gateway.engine.es.ESRegistry
Ensure that the service still exists.
clearClientCache() - Static method in class io.apiman.gateway.engine.es.ESClientFactory
Clears all the clients from the cache.
clearProperty(String, String, IAsyncResultHandler<Void>) - Method in class io.apiman.gateway.engine.es.ESSharedStateComponent
 
componentRegistry - Variable in class io.apiman.gateway.engine.es.ESMetrics
 
createClient(Map<String, String>, String) - Static method in class io.apiman.gateway.engine.es.ESClientFactory
Creates a client from information in the config map.
createIndex(JestClient, String, String) - Static method in class io.apiman.gateway.engine.es.ESClientFactory
Creates an index.
createJestClient(Map<String, String>, String) - Static method in class io.apiman.gateway.engine.es.ESClientFactory
Creates a transport client from a configuration map.
createJestClient(String, String, int, String, String, String, boolean) - Static method in class io.apiman.gateway.engine.es.ESClientFactory
Creates and caches a Jest client from host and port.
createLocalClient(Map<String, String>, String) - Static method in class io.apiman.gateway.engine.es.ESClientFactory
Creates a local client from a configuration map.
createLocalClient(String, String, String) - Static method in class io.apiman.gateway.engine.es.ESClientFactory
Creates a cache by looking it up in a static field.

D

DataVersionBean - Class in io.apiman.gateway.engine.es.beans
A simple bean used to store the last updated time for the ES registry store as a whole.
DataVersionBean() - Constructor for class io.apiman.gateway.engine.es.beans.DataVersionBean
Constructor.
decacheApplication(Application) - Method in class io.apiman.gateway.engine.es.CachingESRegistry
 
decacheService(Service) - Method in class io.apiman.gateway.engine.es.CachingESRegistry
 

E

ESCacheEntry - Class in io.apiman.gateway.engine.es
This is what gets stored in the ES cache.
ESCacheEntry() - Constructor for class io.apiman.gateway.engine.es.ESCacheEntry
Constructor.
ESCacheStoreComponent - Class in io.apiman.gateway.engine.es
An elasticsearch implementation of a cache store.
ESCacheStoreComponent(Map<String, String>) - Constructor for class io.apiman.gateway.engine.es.ESCacheStoreComponent
Constructor.
ESClientFactory - Class in io.apiman.gateway.engine.es
Factory for creating elasticsearch clients.
ESClientFactory() - Constructor for class io.apiman.gateway.engine.es.ESClientFactory
 
ESConstants - Class in io.apiman.gateway.engine.es
Some useful elasticsearch impl constants.
ESConstants() - Constructor for class io.apiman.gateway.engine.es.ESConstants
 
ESMetrics - Class in io.apiman.gateway.engine.es
An elasticsearch implementation of the IMetrics interface.
ESMetrics(Map<String, String>) - Constructor for class io.apiman.gateway.engine.es.ESMetrics
Constructor.
ESRateLimiterComponent - Class in io.apiman.gateway.engine.es
An elasticsearch implementation of the rate limiter component.
ESRateLimiterComponent(Map<String, String>) - Constructor for class io.apiman.gateway.engine.es.ESRateLimiterComponent
Constructor.
ESRegistry - Class in io.apiman.gateway.engine.es
An implementation of the Registry that uses elasticsearch as a storage mechanism.
ESRegistry(Map<String, String>) - Constructor for class io.apiman.gateway.engine.es.ESRegistry
Constructor.
ESRegistryMarshalling - Class in io.apiman.gateway.engine.es
Helper class to marshal objects to JSON and back again.
ESRegistryMarshalling() - Constructor for class io.apiman.gateway.engine.es.ESRegistryMarshalling
 
ESSharedStateComponent - Class in io.apiman.gateway.engine.es
An elasticsearch implementation of the shared state component.
ESSharedStateComponent(Map<String, String>) - Constructor for class io.apiman.gateway.engine.es.ESSharedStateComponent
Constructor.
ESUtils - Class in io.apiman.gateway.engine.es
Util methods.
ESUtils() - Constructor for class io.apiman.gateway.engine.es.ESUtils
 

F

finalize() - Method in class io.apiman.gateway.engine.es.PollCachingESRegistry
 

G

GATEWAY_INDEX_NAME - Static variable in class io.apiman.gateway.engine.es.ESConstants
 
get(String, Class<T>, IAsyncResultHandler<T>) - Method in class io.apiman.gateway.engine.es.ESCacheStoreComponent
 
getBinary(String, Class<T>, IAsyncResultHandler<ISignalReadStream<T>>) - Method in class io.apiman.gateway.engine.es.ESCacheStoreComponent
 
getClient() - Method in class io.apiman.gateway.engine.es.AbstractESComponent
 
getContract(ServiceRequest, IAsyncResultHandler<ServiceContract>) - Method in class io.apiman.gateway.engine.es.CachingESRegistry
 
getContract(ServiceRequest, IAsyncResultHandler<ServiceContract>) - Method in class io.apiman.gateway.engine.es.ESRegistry
 
getData() - Method in class io.apiman.gateway.engine.es.ESCacheEntry
 
getExpiresOn() - Method in class io.apiman.gateway.engine.es.ESCacheEntry
 
getHead() - Method in class io.apiman.gateway.engine.es.ESCacheEntry
 
getIndexName() - Method in class io.apiman.gateway.engine.es.AbstractESComponent
Gets the configured index name.
getIndexName() - Method in class io.apiman.gateway.engine.es.ESCacheStoreComponent
 
getIndexName() - Method in class io.apiman.gateway.engine.es.ESMetrics
 
getIndexName() - Method in class io.apiman.gateway.engine.es.ESRateLimiterComponent
 
getIndexName() - Method in class io.apiman.gateway.engine.es.ESRegistry
 
getIndexName() - Method in class io.apiman.gateway.engine.es.ESSharedStateComponent
 
getProperty(String, String, T, IAsyncResultHandler<T>) - Method in class io.apiman.gateway.engine.es.ESSharedStateComponent
 
getService(String, String, String, IAsyncResultHandler<Service>) - Method in class io.apiman.gateway.engine.es.CachingESRegistry
 
getService(String, String, String, IAsyncResultHandler<Service>) - Method in class io.apiman.gateway.engine.es.ESRegistry
 
getService(String, IAsyncResultHandler<Service>) - Method in class io.apiman.gateway.engine.es.ESRegistry
Asynchronously gets a service.
getType() - Method in class io.apiman.gateway.engine.es.beans.PrimitiveBean
 
getUpdatedOn() - Method in class io.apiman.gateway.engine.es.beans.DataVersionBean
 
getValue() - Method in class io.apiman.gateway.engine.es.beans.PrimitiveBean
 

I

i18n - Static variable in class io.apiman.gateway.engine.es.i18n.Messages
 
initializeClient(JestClient, String) - Static method in class io.apiman.gateway.engine.es.ESClientFactory
Called to initialize the storage.
invalidateCache() - Method in class io.apiman.gateway.engine.es.CachingESRegistry
Called to invalidate the cache - clearing it so that subsequent calls to getService() or getContract() will trigger a new fetch from the ES store.
io.apiman.gateway.engine.es - package io.apiman.gateway.engine.es
 
io.apiman.gateway.engine.es.beans - package io.apiman.gateway.engine.es.beans
 
io.apiman.gateway.engine.es.i18n - package io.apiman.gateway.engine.es.i18n
 

L

loadAndCacheApp(Application) - Method in class io.apiman.gateway.engine.es.CachingESRegistry
 

M

marshall(Service) - Static method in class io.apiman.gateway.engine.es.ESRegistryMarshalling
Marshals the given bean into the given map.
marshall(Application) - Static method in class io.apiman.gateway.engine.es.ESRegistryMarshalling
Marshals the given bean into the given map.
marshall(ServiceContract) - Static method in class io.apiman.gateway.engine.es.ESRegistryMarshalling
Marshals the given bean into the given map.
marshallInto(Service, XContentBuilder) - Static method in class io.apiman.gateway.engine.es.ESRegistryMarshalling
 
Messages - Class in io.apiman.gateway.engine.es.i18n
I18N Messages
Messages() - Constructor for class io.apiman.gateway.engine.es.i18n.Messages
Constructor.
METRICS_INDEX_NAME - Static variable in class io.apiman.gateway.engine.es.ESConstants
 

P

PollCachingESRegistry - Class in io.apiman.gateway.engine.es
Extends the ESRegistry to provide multi-node caching.
PollCachingESRegistry(Map<String, String>) - Constructor for class io.apiman.gateway.engine.es.PollCachingESRegistry
Constructor.
PrimitiveBean - Class in io.apiman.gateway.engine.es.beans
Used to store a primitive value into the shared state ES document.
PrimitiveBean() - Constructor for class io.apiman.gateway.engine.es.beans.PrimitiveBean
Constructor.
publishService(Service, IAsyncResultHandler<Void>) - Method in class io.apiman.gateway.engine.es.CachingESRegistry
 
publishService(Service, IAsyncResultHandler<Void>) - Method in class io.apiman.gateway.engine.es.ESRegistry
 
publishService(Service, IAsyncResultHandler<Void>) - Method in class io.apiman.gateway.engine.es.PollCachingESRegistry
 
put(String, T, long) - Method in class io.apiman.gateway.engine.es.ESCacheStoreComponent
 
putBinary(String, T, long) - Method in class io.apiman.gateway.engine.es.ESCacheStoreComponent
 

R

readBucket(GetResponse) - Method in class io.apiman.gateway.engine.es.ESRateLimiterComponent
Unmarshal a rate limiter bucket from the information in ES.
readPrimitive(JestResult) - Method in class io.apiman.gateway.engine.es.ESSharedStateComponent
Reads a stored primitive.
record(RequestMetric) - Method in class io.apiman.gateway.engine.es.ESMetrics
 
registerApplication(Application, IAsyncResultHandler<Void>) - Method in class io.apiman.gateway.engine.es.CachingESRegistry
 
registerApplication(Application, IAsyncResultHandler<Void>) - Method in class io.apiman.gateway.engine.es.ESRegistry
 
registerApplication(Application, IAsyncResultHandler<Void>) - Method in class io.apiman.gateway.engine.es.PollCachingESRegistry
 
retireService(Service, IAsyncResultHandler<Void>) - Method in class io.apiman.gateway.engine.es.CachingESRegistry
 
retireService(Service, IAsyncResultHandler<Void>) - Method in class io.apiman.gateway.engine.es.ESRegistry
 
retireService(Service, IAsyncResultHandler<Void>) - Method in class io.apiman.gateway.engine.es.PollCachingESRegistry
 
rootCause(Throwable) - Static method in class io.apiman.gateway.engine.es.ESUtils
Gets the root cause of an exception.

S

setBufferFactory(IBufferFactoryComponent) - Method in class io.apiman.gateway.engine.es.ESCacheStoreComponent
 
setComponentRegistry(IComponentRegistry) - Method in class io.apiman.gateway.engine.es.ESMetrics
 
setData(String) - Method in class io.apiman.gateway.engine.es.ESCacheEntry
 
setExpiresOn(long) - Method in class io.apiman.gateway.engine.es.ESCacheEntry
 
setHead(String) - Method in class io.apiman.gateway.engine.es.ESCacheEntry
 
setProperty(String, String, T, IAsyncResultHandler<Void>) - Method in class io.apiman.gateway.engine.es.ESSharedStateComponent
 
setType(String) - Method in class io.apiman.gateway.engine.es.beans.PrimitiveBean
 
setUpdatedOn(long) - Method in class io.apiman.gateway.engine.es.beans.DataVersionBean
 
setValue(String) - Method in class io.apiman.gateway.engine.es.beans.PrimitiveBean
 
startCacheInvalidator() - Method in class io.apiman.gateway.engine.es.PollCachingESRegistry
Starts up a thread that polls the ES store for updates.

U

unmarshallApplication(Map<String, Object>) - Static method in class io.apiman.gateway.engine.es.ESRegistryMarshalling
Unmarshals the given map source into a bean.
unmarshallService(Map<String, Object>) - Static method in class io.apiman.gateway.engine.es.ESRegistryMarshalling
Unmarshals the given map source into a bean.
unmarshallServiceContract(Map<String, Object>) - Static method in class io.apiman.gateway.engine.es.ESRegistryMarshalling
Unmarshals the given map source into a bean.
unregisterApplication(Application, IAsyncResultHandler<Void>) - Method in class io.apiman.gateway.engine.es.CachingESRegistry
 
unregisterApplication(Application, IAsyncResultHandler<Void>) - Method in class io.apiman.gateway.engine.es.ESRegistry
 
unregisterApplication(Application, IAsyncResultHandler<Void>) - Method in class io.apiman.gateway.engine.es.PollCachingESRegistry
 
unregisterServiceContracts(Application, IAsyncResultHandler<Void>) - Method in class io.apiman.gateway.engine.es.ESRegistry
Removes all of the service contracts from ES.
updateBucketAndReturn(String, RateLimiterBucket, RateLimitResponse, long, String, RateBucketPeriod, long, long, IAsyncResultHandler<RateLimitResponse>) - Method in class io.apiman.gateway.engine.es.ESRateLimiterComponent
Update the bucket in ES and then return the rate limit response to the original handler.
updateDataVersion() - Method in class io.apiman.gateway.engine.es.PollCachingESRegistry
Stores a "dataversion" record in the ES store.
A C D E F G I L M P R S U 

Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.