A C D E G H M N P R S T U V 

A

attachMachine(String) - Method in class com.elastisys.scale.cloudadapters.splitter.Splitter
 
AttachMachineRequest - Class in com.elastisys.scale.cloudadapters.splitter.requests.http
A Callable request that will execute POST /pool/<instance>/attach against a cloud adapter.
AttachMachineRequest(PrioritizedCloudAdapter, String) - Constructor for class com.elastisys.scale.cloudadapters.splitter.requests.http.AttachMachineRequest
 

C

calculatePoolSizes(Collection<PrioritizedCloudAdapter>, int) - Method in interface com.elastisys.scale.cloudadapters.splitter.poolcalculators.PoolSizeCalculationStrategy
Calculates the desired sizes to set for a collection of back-end cloud adapters given their individual priorities and a total desired pool size.
calculatePoolSizes(Collection<PrioritizedCloudAdapter>, int) - Method in enum com.elastisys.scale.cloudadapters.splitter.poolcalculators.StrictPoolSizeCalculationStrategy
 
calculatePoolSizes() - Method in class com.elastisys.scale.cloudadapters.splitter.Splitter
 
call() - Method in class com.elastisys.scale.cloudadapters.splitter.requests.http.CloudAdapterRequest
 
CloudAdapterRequest<T> - Class in com.elastisys.scale.cloudadapters.splitter.requests.http
Base class for cloud adapter HTTP requests created by the HttpRequestFactory.
CloudAdapterRequest(PrioritizedCloudAdapter) - Constructor for class com.elastisys.scale.cloudadapters.splitter.requests.http.CloudAdapterRequest
Creates a CloudAdapterRequest targeting a specific cloud adapter.
com.elastisys.scale.cloudadapters.splitter - package com.elastisys.scale.cloudadapters.splitter
 
com.elastisys.scale.cloudadapters.splitter.config - package com.elastisys.scale.cloudadapters.splitter.config
 
com.elastisys.scale.cloudadapters.splitter.poolcalculators - package com.elastisys.scale.cloudadapters.splitter.poolcalculators
 
com.elastisys.scale.cloudadapters.splitter.requests - package com.elastisys.scale.cloudadapters.splitter.requests
 
com.elastisys.scale.cloudadapters.splitter.requests.http - package com.elastisys.scale.cloudadapters.splitter.requests.http
 
com.elastisys.scale.cloudadapters.splitter.server - package com.elastisys.scale.cloudadapters.splitter.server
 
compareTo(PrioritizedCloudAdapter) - Method in class com.elastisys.scale.cloudadapters.splitter.config.PrioritizedCloudAdapter
Compares the priorities of the prioritized cloud adapters so that higher priorities are sorted first, i.e., descending order is the most natural for these adapters.
CONFIG_SCHEMA - Static variable in class com.elastisys.scale.cloudadapters.splitter.Splitter
JSON Schema describing valid configurations for the cloud adapter.
configure(JsonObject) - Method in class com.elastisys.scale.cloudadapters.splitter.Splitter
 

D

DEFAULT_POOL_UPDATE_PERIOD - Static variable in class com.elastisys.scale.cloudadapters.splitter.config.SplitterConfig
Default value for poolUpdatePeriod.
detachMachine(String, boolean) - Method in class com.elastisys.scale.cloudadapters.splitter.Splitter
 
DetachMachineRequest - Class in com.elastisys.scale.cloudadapters.splitter.requests.http
A Callable request that will execute POST /pool/<instance>/detach against a cloud adapter.
DetachMachineRequest(PrioritizedCloudAdapter, String, boolean) - Constructor for class com.elastisys.scale.cloudadapters.splitter.requests.http.DetachMachineRequest
 

E

equals(Object) - Method in class com.elastisys.scale.cloudadapters.splitter.config.PrioritizedCloudAdapter
Two PrioritizedCloudAdapters are considered equal if they share the same host and port.
equals(Object) - Method in class com.elastisys.scale.cloudadapters.splitter.config.SplitterConfig
 
execute(AuthenticatedHttpClient) - Method in class com.elastisys.scale.cloudadapters.splitter.requests.http.AttachMachineRequest
 
execute(AuthenticatedHttpClient) - Method in class com.elastisys.scale.cloudadapters.splitter.requests.http.CloudAdapterRequest
Execute the request against the remote cloud adapter using a HTTP client set up according to the authentication mechanisms specified for the PrioritizedCloudAdapter.
execute(AuthenticatedHttpClient) - Method in class com.elastisys.scale.cloudadapters.splitter.requests.http.DetachMachineRequest
 
execute(AuthenticatedHttpClient) - Method in class com.elastisys.scale.cloudadapters.splitter.requests.http.GetMachinePoolRequest
 
execute(AuthenticatedHttpClient) - Method in class com.elastisys.scale.cloudadapters.splitter.requests.http.GetPoolSizeRequest
 
execute(AuthenticatedHttpClient) - Method in class com.elastisys.scale.cloudadapters.splitter.requests.http.SetDesiredSizeRequest
 
execute(AuthenticatedHttpClient) - Method in class com.elastisys.scale.cloudadapters.splitter.requests.http.SetServiceStateRequest
 
execute(AuthenticatedHttpClient) - Method in class com.elastisys.scale.cloudadapters.splitter.requests.http.TerminateMachineRequest
 

G

getAdapters() - Method in class com.elastisys.scale.cloudadapters.splitter.config.SplitterConfig
Returns the list of back-end cloud adapters and their individual priorities.
getBasicCredentials() - Method in class com.elastisys.scale.cloudadapters.splitter.config.PrioritizedCloudAdapter
Returns credentials, if any, required for HTTP Basic Authentication.
getCalculationStrategy() - Method in enum com.elastisys.scale.cloudadapters.splitter.config.PoolSizeCalculator
 
getCertificateCredentials() - Method in class com.elastisys.scale.cloudadapters.splitter.config.PrioritizedCloudAdapter
Returns credentials, if any, for SSL/TLS certificate-based authentication.
getCloudAdapterHost() - Method in class com.elastisys.scale.cloudadapters.splitter.config.PrioritizedCloudAdapter
Returns the hostname of the REST endpoint.
getCloudAdapterPort() - Method in class com.elastisys.scale.cloudadapters.splitter.config.PrioritizedCloudAdapter
Returns the port number of the REST endpoint.
getConfiguration() - Method in class com.elastisys.scale.cloudadapters.splitter.Splitter
 
getConfigurationSchema() - Method in class com.elastisys.scale.cloudadapters.splitter.Splitter
 
getMachinePool() - Method in class com.elastisys.scale.cloudadapters.splitter.Splitter
 
GetMachinePoolRequest - Class in com.elastisys.scale.cloudadapters.splitter.requests.http
A Callable request that will execute GET /pool against a cloud adapter.
GetMachinePoolRequest(PrioritizedCloudAdapter) - Constructor for class com.elastisys.scale.cloudadapters.splitter.requests.http.GetMachinePoolRequest
 
getMessage() - Method in class com.elastisys.scale.cloudadapters.splitter.MultiCauseException
 
getPoolSize() - Method in class com.elastisys.scale.cloudadapters.splitter.Splitter
 
getPoolSizeCalculator() - Method in class com.elastisys.scale.cloudadapters.splitter.config.SplitterConfig
Returns the pool size calculation strategy to use.
GetPoolSizeRequest - Class in com.elastisys.scale.cloudadapters.splitter.requests.http
A Callable request that will execute GET /pool/size against a cloud adapter.
GetPoolSizeRequest(PrioritizedCloudAdapter) - Constructor for class com.elastisys.scale.cloudadapters.splitter.requests.http.GetPoolSizeRequest
 
getPoolUpdatePeriod() - Method in class com.elastisys.scale.cloudadapters.splitter.config.SplitterConfig
Returns the time interval (in seconds) between pushing out the desired size to each child adapter.
getPriority() - Method in class com.elastisys.scale.cloudadapters.splitter.config.PrioritizedCloudAdapter
Returns the priority of this cloud adapter.

H

hashCode() - Method in class com.elastisys.scale.cloudadapters.splitter.config.PrioritizedCloudAdapter
Two PrioritizedCloudAdapters are considered equal if they share the same host and port.
hashCode() - Method in class com.elastisys.scale.cloudadapters.splitter.config.SplitterConfig
 
HttpRequestFactory - Class in com.elastisys.scale.cloudadapters.splitter.requests.http
A RequestFactory that produces request tasks that invoke cloud adapters over HTTP.
HttpRequestFactory() - Constructor for class com.elastisys.scale.cloudadapters.splitter.requests.http.HttpRequestFactory
 

M

Main - Class in com.elastisys.scale.cloudadapters.splitter.server
Run a REST endpoint server for the Splitter cloud adapter.
Main() - Constructor for class com.elastisys.scale.cloudadapters.splitter.server.Main
 
main(String[]) - Static method in class com.elastisys.scale.cloudadapters.splitter.server.Main
Starts a SplitterCloudAdapter accessible over REST.
MultiCauseException - Class in com.elastisys.scale.cloudadapters.splitter
An exception that can be used when an exceptional condition is a result of multiple errors.
MultiCauseException(Collection<? extends Throwable>) - Constructor for class com.elastisys.scale.cloudadapters.splitter.MultiCauseException
Create a MultiCauseException with a collection of causes.

N

newAttachMachineRequest(PrioritizedCloudAdapter, String) - Method in class com.elastisys.scale.cloudadapters.splitter.requests.http.HttpRequestFactory
 
newAttachMachineRequest(PrioritizedCloudAdapter, String) - Method in interface com.elastisys.scale.cloudadapters.splitter.requests.RequestFactory
Creates a Callable that calls CloudAdapter.attachMachine(String) on the remote cloud adapter.
newDetachMachineRequest(PrioritizedCloudAdapter, String, boolean) - Method in class com.elastisys.scale.cloudadapters.splitter.requests.http.HttpRequestFactory
 
newDetachMachineRequest(PrioritizedCloudAdapter, String, boolean) - Method in interface com.elastisys.scale.cloudadapters.splitter.requests.RequestFactory
Creates a Callable that calls CloudAdapter.detachMachine(String, boolean) on the remote cloud adapter.
newGetMachinePoolRequest(PrioritizedCloudAdapter) - Method in class com.elastisys.scale.cloudadapters.splitter.requests.http.HttpRequestFactory
 
newGetMachinePoolRequest(PrioritizedCloudAdapter) - Method in interface com.elastisys.scale.cloudadapters.splitter.requests.RequestFactory
Creates a Callable that calls CloudAdapter.getMachinePool() on the remote cloud adapter.
newGetPoolSizeRequest(PrioritizedCloudAdapter) - Method in class com.elastisys.scale.cloudadapters.splitter.requests.http.HttpRequestFactory
 
newGetPoolSizeRequest(PrioritizedCloudAdapter) - Method in interface com.elastisys.scale.cloudadapters.splitter.requests.RequestFactory
Creates a Callable that calls CloudAdapter.getPoolSize() on the remote cloud adapter.
newSetDesiredSizeRequest(PrioritizedCloudAdapter, int) - Method in class com.elastisys.scale.cloudadapters.splitter.requests.http.HttpRequestFactory
 
newSetDesiredSizeRequest(PrioritizedCloudAdapter, int) - Method in interface com.elastisys.scale.cloudadapters.splitter.requests.RequestFactory
Creates a Callable that calls CloudAdapter.setDesiredSize(int) on the remote cloud adapter.
newSetServiceStateRequest(PrioritizedCloudAdapter, String, ServiceState) - Method in class com.elastisys.scale.cloudadapters.splitter.requests.http.HttpRequestFactory
 
newSetServiceStateRequest(PrioritizedCloudAdapter, String, ServiceState) - Method in interface com.elastisys.scale.cloudadapters.splitter.requests.RequestFactory
Creates a Callable that calls CloudAdapter.setServiceState(String, ServiceState) on the remote cloud adapter.
newTerminateMachineRequest(PrioritizedCloudAdapter, String, boolean) - Method in class com.elastisys.scale.cloudadapters.splitter.requests.http.HttpRequestFactory
 
newTerminateMachineRequest(PrioritizedCloudAdapter, String, boolean) - Method in interface com.elastisys.scale.cloudadapters.splitter.requests.RequestFactory
Creates a Callable that calls CloudAdapter.terminateMachine(String, boolean) on the remote cloud adapter.

P

PoolSizeCalculationStrategy - Interface in com.elastisys.scale.cloudadapters.splitter.poolcalculators
Used by the Splitter to calculate how to divide a total desired pool size across all back-end cloud adapters.
PoolSizeCalculator - Enum in com.elastisys.scale.cloudadapters.splitter.config
The valid pool size calculation strategies recognized in the configuration.
PrioritizedCloudAdapter - Class in com.elastisys.scale.cloudadapters.splitter.config
Splitter configuration for a single back-end cloud adapter.
PrioritizedCloudAdapter(int, String, int, BasicCredentials, CertificateCredentials) - Constructor for class com.elastisys.scale.cloudadapters.splitter.config.PrioritizedCloudAdapter
Creates a new instance with the values set to the given values.

R

RequestFactory - Interface in com.elastisys.scale.cloudadapters.splitter.requests
A strategy for creating Callable tasks for carrying out operations against remote PrioritizedCloudAdapters.

S

setDesiredSize(int) - Method in class com.elastisys.scale.cloudadapters.splitter.Splitter
 
SetDesiredSizeRequest - Class in com.elastisys.scale.cloudadapters.splitter.requests.http
A Callable request that will execute POST /pool/size against a cloud adapter.
SetDesiredSizeRequest(PrioritizedCloudAdapter, int) - Constructor for class com.elastisys.scale.cloudadapters.splitter.requests.http.SetDesiredSizeRequest
 
setServiceState(String, ServiceState) - Method in class com.elastisys.scale.cloudadapters.splitter.Splitter
 
SetServiceStateRequest - Class in com.elastisys.scale.cloudadapters.splitter.requests.http
A Callable request that will execute POST /pool/<instance>/serviceState against a cloud adapter.
SetServiceStateRequest(PrioritizedCloudAdapter, String, ServiceState) - Constructor for class com.elastisys.scale.cloudadapters.splitter.requests.http.SetServiceStateRequest
 
Splitter - Class in com.elastisys.scale.cloudadapters.splitter
A cloud adapter that splits up the MachinePool to a number of configured CloudAdapters.
Splitter() - Constructor for class com.elastisys.scale.cloudadapters.splitter.Splitter
Constructs a Splitter in an unconfigured state.
Splitter(RequestFactory) - Constructor for class com.elastisys.scale.cloudadapters.splitter.Splitter
Constructs a Splitter with a specific RequestFactory.
SplitterConfig - Class in com.elastisys.scale.cloudadapters.splitter.config
Represents a configuration for a Splitter.
SplitterConfig(PoolSizeCalculator, List<PrioritizedCloudAdapter>, long) - Constructor for class com.elastisys.scale.cloudadapters.splitter.config.SplitterConfig
Creates a SplitterConfig.
StrictPoolSizeCalculationStrategy - Enum in com.elastisys.scale.cloudadapters.splitter.poolcalculators
A PoolSizeCalculationStrategy that ignores current machine pools and the statuses of the machines therein, and merely strictly enforces the fractions as given by the priorities and configuration order of the cloud adapters.

T

terminateMachine(String, boolean) - Method in class com.elastisys.scale.cloudadapters.splitter.Splitter
 
TerminateMachineRequest - Class in com.elastisys.scale.cloudadapters.splitter.requests.http
A Callable request that will execute POST /pool/<instance>/terminate against a cloud adapter.
TerminateMachineRequest(PrioritizedCloudAdapter, String, boolean) - Constructor for class com.elastisys.scale.cloudadapters.splitter.requests.http.TerminateMachineRequest
 
toString() - Method in class com.elastisys.scale.cloudadapters.splitter.config.PrioritizedCloudAdapter
 
toString() - Method in class com.elastisys.scale.cloudadapters.splitter.config.SplitterConfig
 

U

updateMachinePool() - Method in class com.elastisys.scale.cloudadapters.splitter.Splitter
Updates the child pools according to the desired size and the configured priorities in a thread-safe manner.
url(String) - Method in class com.elastisys.scale.cloudadapters.splitter.requests.http.CloudAdapterRequest
Constructs a URL for a particular resource on the remote cloud adapter.

V

validate() - Method in class com.elastisys.scale.cloudadapters.splitter.config.PrioritizedCloudAdapter
Makes a basic sanity check verifying that all values are non- null.
validate() - Method in class com.elastisys.scale.cloudadapters.splitter.config.SplitterConfig
 
valueOf(String) - Static method in enum com.elastisys.scale.cloudadapters.splitter.config.PoolSizeCalculator
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.elastisys.scale.cloudadapters.splitter.poolcalculators.StrictPoolSizeCalculationStrategy
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.elastisys.scale.cloudadapters.splitter.config.PoolSizeCalculator
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.elastisys.scale.cloudadapters.splitter.poolcalculators.StrictPoolSizeCalculationStrategy
Returns an array containing the constants of this enum type, in the order they are declared.
A C D E G H M N P R S T U V 

Copyright © 2011–2015 elastisys. All rights reserved.