A C D E F G H J L M N O P R S T U Z 

A

AbstractHttpRequestCallback<T> - Class in org.alfresco.http
Response callback that returns the HttpResponse on success and throws runtime exceptions on errors.
AbstractHttpRequestCallback() - Constructor for class org.alfresco.http.AbstractHttpRequestCallback
 
addListener(ClassLoaderListener) - Method in interface org.alfresco.classloader.CallbackClassLoader
Allows registration to listen for class changes (for loaded classes)
addListener(ClassLoaderListener) - Method in class org.alfresco.classloader.zookeeper.ZooKeeperClassLoader
Add a change listener
AuthenticationDetailsProvider - Interface in org.alfresco.http
Provides details to allow users to authenticate against alfresco.

C

CallbackClassLoader - Interface in org.alfresco.classloader
Interface for class loaders that provide callbacks when loaded classes get changed.
childrenChanged(String) - Method in interface org.alfresco.config.ConfigChildListener
The children below the path have changed
classesChanged(String) - Method in interface org.alfresco.config.ConfigClassesListener
The classes rooted at the path have changed
classesHaveChanged() - Method in interface org.alfresco.classloader.ClassLoaderListener
Simple callback to notify that one or more of the classes have changed.
ClassLoaderListener - Interface in org.alfresco.classloader
Interface to listen for changes to the BM-specific classesZooKeeper-contained classes.
ConfigChildListener - Interface in org.alfresco.config
Callback used when a location containing child nodes is being watched
ConfigClassesListener - Interface in org.alfresco.config
Callback used when a location containing classes is being watched
ConfigDataListener - Interface in org.alfresco.config
Callback used when a location containing classes is being watched
ConfigException - Exception in org.alfresco.config
Exception thrown for any unexpected result or data in ZooKeeper
ConfigException(String) - Constructor for exception org.alfresco.config.ConfigException
 
ConfigException(String, Throwable) - Constructor for exception org.alfresco.config.ConfigException
 
ConfigService - Interface in org.alfresco.config
Interface for classes that are able to provide configuration specifically for the benchmark server.
create(String...) - Method in interface org.alfresco.config.ConfigService
Recursive creation of a path, allowing for the existence of any or all of the path.
create(String...) - Method in class org.alfresco.config.zookeeper.ZkConfigService
Recursive creation of a path, allowing for the existence of any or all of the path.

D

dataChanged(String, boolean) - Method in interface org.alfresco.config.ConfigDataListener
 
DEFAULT_CONNECTION_TIMEOUT_MILLISEC - Static variable in class org.alfresco.http.SharedHttpClientProvider
Allow 10s for a socket to open
DEFAULT_SOCKET_TIMEOUT_MILLISEC - Static variable in class org.alfresco.http.SharedHttpClientProvider
Allow 30s for some sort of response before an error is thrown
DEFAULT_SOCKET_TTL_MILLISEC - Static variable in class org.alfresco.http.SharedHttpClientProvider
Expire connections from the pool after 10 minutes by default
delete(String...) - Method in interface org.alfresco.config.ConfigService
Recursive delete of a path without any option to recover.
delete(String...) - Method in class org.alfresco.config.zookeeper.ZkConfigService
Recursive delete of a path without any option to recover.
deserialize(byte[]) - Method in class org.alfresco.zookeeper.ZkStringSerializer
 

E

exists(String...) - Method in interface org.alfresco.config.ConfigService
Check if a given path exists
exists(String...) - Method in class org.alfresco.config.zookeeper.ZkConfigService
Check if a given path exists

F

FORM_PROCESSOR_JSON_PERSISTED_OBJECT - Static variable in class org.alfresco.json.JSONUtil
 

G

getAdminPassword() - Method in interface org.alfresco.http.AuthenticationDetailsProvider
 
getAdminUsername() - Method in interface org.alfresco.http.AuthenticationDetailsProvider
 
getArray(JSONObject, String) - Static method in class org.alfresco.json.JSONUtil
 
getChildren(ConfigChildListener, String...) - Method in interface org.alfresco.config.ConfigService
Retrieve the children of a given path
getChildren(ConfigChildListener, String...) - Method in class org.alfresco.config.zookeeper.ZkConfigService
 
getClassLoader(ConfigClassesListener, ClassLoader, String...) - Method in interface org.alfresco.config.ConfigService
Retrieve a ClassLoader rooted at the given location
getClassLoader(ConfigClassesListener, ClassLoader, String...) - Method in class org.alfresco.config.zookeeper.ZkConfigService
 
getDataArrayFromResponse(HttpEntity) - Static method in class org.alfresco.json.JSONUtil
Extract the "data" JSON-array from the method's response.
getDataFromResponse(HttpEntity) - Static method in class org.alfresco.json.JSONUtil
Extract the "data" JSON-object from the method's response.
getHttpClient() - Method in interface org.alfresco.http.HttpClientProvider
 
getHttpClient(String, String) - Method in interface org.alfresco.http.HttpClientProvider
Get a new client using basic authentication
getHttpClient() - Method in class org.alfresco.http.SharedHttpClientProvider
 
getHttpClient(String, String) - Method in class org.alfresco.http.SharedHttpClientProvider
 
getInstance(String) - Static method in class org.alfresco.config.zookeeper.ZkConfigNode
 
getInstance() - Method in class org.alfresco.config.zookeeper.ZkConfigNode
Get the object made from the supplied JSON
getInstance() - Static method in class org.alfresco.http.SimpleHttpRequestCallback
Get a singleton instance of this class
getJarLoader(ConfigClassesListener, ClassLoader, String...) - Method in interface org.alfresco.config.ConfigService
Retrieve a URLClassLoader rooted at the given location.
getJarLoader(ConfigClassesListener, ClassLoader, String...) - Method in class org.alfresco.config.zookeeper.ZkConfigService
 
getJson() - Method in class org.alfresco.config.zookeeper.ZkConfigNode
Get the original JSON from which the ZkConfigNode.getInstance() was constructed.
getObject(JSONObject, String) - Static method in class org.alfresco.json.JSONUtil
 
getPasswordForUser(String) - Method in interface org.alfresco.http.AuthenticationDetailsProvider
 
getProperties(ConfigDataListener, String...) - Method in interface org.alfresco.config.ConfigService
Retrieve the properties from a given path
getProperties(ConfigDataListener, String...) - Method in class org.alfresco.config.zookeeper.ZkConfigService
Retrieve the properties from a given path
getString(ConfigDataListener, String...) - Method in interface org.alfresco.config.ConfigService
Retrieve string data from a given path
getString(ConfigDataListener, String...) - Method in class org.alfresco.config.zookeeper.ZkConfigService
Retrieve string data from a given path
getString(JSONObject, String, String) - Static method in class org.alfresco.json.JSONUtil
Gets a string-value from the given JSON-object for the given key.
getTicketForUser(String) - Method in interface org.alfresco.http.AuthenticationDetailsProvider
 
getValue(long, long) - Method in class org.alfresco.random.NormalDistributionHelper
Get a random long where a standard deviation of 1.0 corresponds to the min and max values provided.

H

handleChildChange(String, List<String>) - Method in class org.alfresco.classloader.zookeeper.ZooKeeperClassLoader
Calls any listeners.
handleDataChange(String, Object) - Method in class org.alfresco.classloader.zookeeper.ZooKeeperClassLoader
Calls any listeners.
handleDataDeleted(String) - Method in class org.alfresco.classloader.zookeeper.ZooKeeperClassLoader
Calls any listeners.
HEADER_ACCEPT - Static variable in class org.alfresco.json.JSONUtil
 
HEADER_CONTENT_TYPE - Static variable in class org.alfresco.json.JSONUtil
 
HttpClientProvider - Interface in org.alfresco.http
Provides HttpClient instance to be used to perform HTTP-calls.
HttpRequestCallback<T> - Interface in org.alfresco.http
Callback used when executing HTTP-request.

J

JSON_DATA - Static variable in class org.alfresco.json.JSONUtil
 
JSON_ID - Static variable in class org.alfresco.json.JSONUtil
 
JSON_ITEMS - Static variable in class org.alfresco.json.JSONUtil
 
JSON_NAME - Static variable in class org.alfresco.json.JSONUtil
 
JSONArrayCallback - Class in org.alfresco.json
A HttpRequestCallback that parses the response body as a JSONArrayin the 'data' property (RestConstants#JSON_DATA) of the JSON body.
JSONArrayCallback() - Constructor for class org.alfresco.json.JSONArrayCallback
 
JSONObjectCallback - Class in org.alfresco.json
A HttpRequestCallback that parses the response body as a JSONObject.
JSONObjectCallback(boolean) - Constructor for class org.alfresco.json.JSONObjectCallback
 
JSONUtil - Class in org.alfresco.json
Utilities for JSON-parsing.
JSONUtil() - Constructor for class org.alfresco.json.JSONUtil
 

L

loadClass(String) - Method in class org.alfresco.classloader.zookeeper.ZooKeeperClassLoader
Takes the rootPath variable and finds (using '/' in place of '.') the class in ZooKeeper.

M

MIME_TYPE_JSON - Static variable in class org.alfresco.json.JSONUtil
 

N

NormalDistributionHelper - Class in org.alfresco.random
Normal time distribution
NormalDistributionHelper() - Constructor for class org.alfresco.random.NormalDistributionHelper
Use a simple normal distribution to generate random numbers

O

onApplicationEvent(ApplicationContextEvent) - Method in class org.alfresco.config.zookeeper.ZkConfigService
Handles start and stop by checking configuration and cleaning caches respectively.
onCallException(HttpResponse, Throwable) - Method in class org.alfresco.http.AbstractHttpRequestCallback
 
onCallException(HttpResponse, Throwable) - Method in interface org.alfresco.http.HttpRequestCallback
Called when an error occurs when sending the request.
onCallSuccess(HttpResponse) - Method in interface org.alfresco.http.HttpRequestCallback
Called when call was successful.
onCallSuccess(HttpResponse) - Method in class org.alfresco.http.SimpleHttpRequestCallback
Returns the response without any modifications
onCallSuccess(HttpResponse) - Method in class org.alfresco.json.JSONArrayCallback
 
onCallSuccess(HttpResponse) - Method in class org.alfresco.json.JSONObjectCallback
 
org.alfresco.classloader - package org.alfresco.classloader
 
org.alfresco.classloader.zookeeper - package org.alfresco.classloader.zookeeper
 
org.alfresco.config - package org.alfresco.config
 
org.alfresco.config.zookeeper - package org.alfresco.config.zookeeper
 
org.alfresco.http - package org.alfresco.http
 
org.alfresco.json - package org.alfresco.json
 
org.alfresco.random - package org.alfresco.random
 
org.alfresco.zookeeper - package org.alfresco.zookeeper
 

P

populateRequestBody(HttpPost, JSONObject) - Static method in class org.alfresco.json.JSONUtil
Adds the JSON as request-body the the method and sets the correct content-type.

R

readStream(HttpEntity) - Static method in class org.alfresco.json.JSONUtil
Parses http response stream into a JSONObject.

S

SEPARATOR - Static variable in interface org.alfresco.config.ConfigService
 
serialize(Object) - Method in class org.alfresco.zookeeper.ZkStringSerializer
 
setApplicationContext(ApplicationContext) - Method in class org.alfresco.config.zookeeper.ZkConfigService
Record the context that started this instance.
setData(ConfigDataListener, boolean, boolean, byte[], String...) - Method in interface org.alfresco.config.ConfigService
Set binary data
setData(ConfigDataListener, boolean, boolean, byte[], String...) - Method in class org.alfresco.config.zookeeper.ZkConfigService
 
setJSONExpected(HttpPost) - Static method in class org.alfresco.json.JSONUtil
Sets a header to notify server we expect a JSON-repsponse for this method.
setMessageBody(String) - Static method in class org.alfresco.json.JSONUtil
Populate HTTP message call with given content.
setMessageBody(JSONObject) - Static method in class org.alfresco.json.JSONUtil
Populate HTTP message call with given content.
setProperties(ConfigDataListener, boolean, boolean, Properties, String...) - Method in interface org.alfresco.config.ConfigService
Set properties against a path
setProperties(ConfigDataListener, boolean, boolean, Properties, String...) - Method in class org.alfresco.config.zookeeper.ZkConfigService
 
setString(ConfigDataListener, boolean, boolean, String, String...) - Method in interface org.alfresco.config.ConfigService
Retrieve string data from a given path
setString(ConfigDataListener, boolean, boolean, String, String...) - Method in class org.alfresco.config.zookeeper.ZkConfigService
 
SharedHttpClientProvider - Class in org.alfresco.http
A class responsible for managing shared HTTP connections.
SharedHttpClientProvider(int) - Constructor for class org.alfresco.http.SharedHttpClientProvider
SharedHttpClientProvider(int, int, int) - Constructor for class org.alfresco.http.SharedHttpClientProvider
 
SharedHttpClientProvider(int, int, int, int) - Constructor for class org.alfresco.http.SharedHttpClientProvider
shutdown() - Method in class org.alfresco.config.zookeeper.ZkConfigService
Drop any stored configuration and discard any watchers
SimpleHttpRequestCallback - Class in org.alfresco.http
Response callback that returns the HttpResponse on success and throws runtime exceptions on errors.
SimpleHttpRequestCallback() - Constructor for class org.alfresco.http.SimpleHttpRequestCallback
 

T

toString() - Method in class org.alfresco.config.zookeeper.ZkConfigNode
 

U

updateData(byte[], String...) - Method in interface org.alfresco.config.ConfigService
Update data at a given path
updateData(byte[], String...) - Method in class org.alfresco.config.zookeeper.ZkConfigService
 
updateProperties(Properties, String...) - Method in interface org.alfresco.config.ConfigService
Update properties at a given path
updateProperties(Properties, String...) - Method in class org.alfresco.config.zookeeper.ZkConfigService
 
updateString(String, String...) - Method in interface org.alfresco.config.ConfigService
Update a specific string value
updateString(String, String...) - Method in class org.alfresco.config.zookeeper.ZkConfigService
 
updateTicketForUser(String, String) - Method in interface org.alfresco.http.AuthenticationDetailsProvider
Update the value of the ticket for the given user.

Z

ZkConfigNode - Class in org.alfresco.config.zookeeper
Simple container to load node from a ZooKeeper node and convert it to the required target type or properties if the java type is not specified.
ZkConfigNode(String) - Constructor for class org.alfresco.config.zookeeper.ZkConfigNode
 
ZkConfigService - Class in org.alfresco.config.zookeeper
ZooKeeper-based configuration loader that, starting from a root path, loads benchmark-related configurations.
ZkConfigService(ZkClient, String) - Constructor for class org.alfresco.config.zookeeper.ZkConfigService
Construct the configuration loader.
ZkStringSerializer - Class in org.alfresco.zookeeper
A serializer that is compatible with the ZooKeeper command line client (ZkCli).
ZkStringSerializer() - Constructor for class org.alfresco.zookeeper.ZkStringSerializer
 
ZooKeeperClassLoader - Class in org.alfresco.classloader.zookeeper
A Java ClassLoader pulling classes from ZooKeeper.
ZooKeeperClassLoader(ClassLoader, ZkClient, String) - Constructor for class org.alfresco.classloader.zookeeper.ZooKeeperClassLoader
 
A C D E F G H J L M N O P R S T U Z 

Copyright © 2014. All rights reserved.