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

A

addEvent(String, Map<String, Object>) - Method in class io.keen.client.java.KeenClient
Adds an event to the default project with default Keen properties and no callbacks.
addEvent(String, Map<String, Object>, Map<String, Object>) - Method in class io.keen.client.java.KeenClient
Adds an event to the default project with no callbacks.
addEvent(KeenProject, String, Map<String, Object>, Map<String, Object>, KeenCallback) - Method in class io.keen.client.java.KeenClient
Synchronously adds an event to the specified collection.
addEventAsync(String, Map<String, Object>) - Method in class io.keen.client.java.KeenClient
Adds an event to the default project with default Keen properties and no callbacks.
addEventAsync(String, Map<String, Object>, Map<String, Object>) - Method in class io.keen.client.java.KeenClient
Adds an event to the default project with no callbacks.
addEventAsync(KeenProject, String, Map<String, Object>, Map<String, Object>, KeenCallback) - Method in class io.keen.client.java.KeenClient
Asynchronously adds an event to the specified collection.
AlwaysConnectedNetworkStatusHandler - Class in io.keen.client.java
This class implements the KeenNetworkStatusHandler.
AlwaysConnectedNetworkStatusHandler() - Constructor for class io.keen.client.java.AlwaysConnectedNetworkStatusHandler
 
authorization - Variable in class io.keen.client.java.http.Request
 

B

body - Variable in class io.keen.client.java.http.Request
 
body - Variable in class io.keen.client.java.http.Response
 
build() - Method in class io.keen.client.java.KeenClient.Builder
Builds a new Keen client using the interfaces which have been specified explicitly on this builder instance via the set* or with* methods, or the default interfaces if none have been specified.
Builder() - Constructor for class io.keen.client.java.KeenClient.Builder
 
buildInstance() - Method in class io.keen.client.java.KeenClient.Builder
Builds an instance based on this builder.
byteArrayToHexString(byte[]) - Static method in class io.keen.client.java.KeenUtils
 

C

client() - Static method in class io.keen.client.java.KeenClient
Call this to retrieve the KeenClient singleton instance.
closeQuietly(Closeable) - Static method in class io.keen.client.java.KeenUtils
 
convertFileToString(File) - Static method in class io.keen.client.java.KeenUtils
 
convertStreamToString(InputStream) - Static method in class io.keen.client.java.KeenUtils
 

D

decrypt(String, String) - Static method in class io.keen.client.java.ScopedKeys
Decrypts the given Keen IO Scoped Key with an API Key and returns the decrypted Scoped Key Options.
decrypt(KeenClient, String, String) - Static method in class io.keen.client.java.ScopedKeys
Decrypts the given Keen IO Scoped Key with an API Key and returns the decrypted Scoped Key Options.
decrypt32CharacterKey(KeenClient, String, String) - Static method in class io.keen.client.java.ScopedKeys
Decrypts the given Keen IO Scoped Key with an API Key and returns the decrypted Scoped Key Options.
disableDefaultLogHandler() - Static method in class io.keen.client.java.KeenLogging
Disable the default log handler installed by the Keen Client to allow log management by standard j.u.l mechanisms.
disableLogging() - Static method in class io.keen.client.java.KeenLogging
Call this to disable logging.

E

enableLogging() - Static method in class io.keen.client.java.KeenLogging
Call this to enable logging.
encrypt(String, Map<String, Object>) - Static method in class io.keen.client.java.ScopedKeys
Encrypts the given options with a Keen IO API Key and creates a Scoped Key.
encrypt(KeenClient, String, Map<String, Object>) - Static method in class io.keen.client.java.ScopedKeys
Encrypts the given options with a Keen IO API Key and creates a Scoped Key.
encrypt32CharacterKey(KeenClient, String, Map<String, Object>) - Static method in class io.keen.client.java.ScopedKeys
Encrypts the given options with a Keen IO API Key and creates a Scoped Key.
execute(Request) - Method in interface io.keen.client.java.http.HttpHandler
Executes the given request and returns the received response.
execute(Request) - Method in class io.keen.client.java.http.UrlConnectionHttpHandler
Sends an HTTP request.

F

FileEventStore - Class in io.keen.client.java
Implementation of the KeenEventStore interface using the file system to cache events in between queueing and batch posting.
FileEventStore(File) - Constructor for class io.keen.client.java.FileEventStore
Constructs a new File-based event store.

G

get(Object) - Method in class io.keen.client.java.FileEventStore
Gets the event corresponding to the given handle.
get(Object) - Method in interface io.keen.client.java.KeenEventStore
Gets the event corresponding to the given handle.
get(Object) - Method in class io.keen.client.java.RamEventStore
Gets the event corresponding to the given handle.
getAttempts(String, String) - Method in class io.keen.client.java.FileEventStore
Gets the stored attempts String for a given project and collection.
getAttempts(String, String) - Method in interface io.keen.client.java.KeenAttemptCountingEventStore
Gets the stored attempts String for a given project and collection.
getAttempts(String, String) - Method in class io.keen.client.java.RamEventStore
Gets the stored attempts String for a given project and collection.
getBaseUrl() - Method in class io.keen.client.java.KeenClient
Gets the base API URL associated with this instance of the KeenClient.
getDefaultEventStore() - Method in class io.keen.client.java.KeenClient.Builder
Gets the default KeenEventStore to use if none is explicitly set for this builder.
getDefaultHttpHandler() - Method in class io.keen.client.java.KeenClient.Builder
Gets the default HttpHandler to use if none is explicitly set for this builder.
getDefaultJsonHandler() - Method in class io.keen.client.java.KeenClient.Builder
Gets the default KeenJsonHandler to use if none is explicitly set for this builder.
getDefaultNetworkStatusHandler() - Method in class io.keen.client.java.KeenClient.Builder
Gets the default KeenNetworkStatusHandler to use if none is explicitly set for this builder.
getDefaultProject() - Method in class io.keen.client.java.KeenClient
Gets the default project that this KeenClient will use if no project is specified.
getDefaultPublishExecutor() - Method in class io.keen.client.java.KeenClient.Builder
Gets the default Executor to use if none is explicitly set for this builder.
getEventStore() - Method in class io.keen.client.java.KeenClient.Builder
Gets the KeenEventStore that this builder is currently configured to use for storing events between batch publish operations.
getEventStore() - Method in class io.keen.client.java.KeenClient
Gets the event store for this client.
getGlobalProperties(String) - Method in interface io.keen.client.java.GlobalPropertiesEvaluator
Gets a Map containing the global properties which should be applied to a new event in the specified collection.
getGlobalProperties() - Method in class io.keen.client.java.KeenClient
Gets the Keen Global Properties map.
getGlobalPropertiesEvaluator() - Method in class io.keen.client.java.KeenClient
Gets the GlobalPropertiesEvaluator associated with this instance of the KeenClient.
getHandles(String) - Method in class io.keen.client.java.FileEventStore
Retrieves a map from collection names to lists of handles currently stored under each collection.
getHandles(String) - Method in interface io.keen.client.java.KeenEventStore
Retrieves a map from collection names to lists of handles currently stored under each collection.
getHandles(String) - Method in class io.keen.client.java.RamEventStore
Retrieves a map from collection names to lists of handles currently stored under each collection.
getHttpHandler() - Method in class io.keen.client.java.KeenClient.Builder
Gets the HttpHandler that this builder is currently configured to use for making HTTP requests.
getJsonHandler() - Method in class io.keen.client.java.KeenClient.Builder
Gets the KeenJsonHandler that this builder is currently configured to use for handling JSON operations.
getJsonHandler() - Method in class io.keen.client.java.KeenClient
Gets the JSON handler for this client.
getMaxAttempts() - Method in class io.keen.client.java.KeenClient
Sets the maximum number of HTTPS POST retry attempts for all events added in the future.
getNetworkStatusHandler() - Method in class io.keen.client.java.KeenClient.Builder
Gets the KeenNetworkStatusHandler that this builder is currently configured to use.
getProjectId() - Method in class io.keen.client.java.KeenProject
Getter for the Keen Project Id associated with this instance of the KeenClient.
getProxy() - Method in class io.keen.client.java.KeenClient
Gets the client Proxy.
getPublishExecutor() - Method in class io.keen.client.java.KeenClient.Builder
Gets the Executor that this builder is currently configured to use for asynchronous publishing operations.
getPublishExecutor() - Method in class io.keen.client.java.KeenClient
Gets the executor for asynchronous publishing for this client.
getReadKey() - Method in class io.keen.client.java.KeenProject
Getter for the Keen Read Key associated with this instance of the KeenClient.
getStackTraceFromThrowable(Throwable) - Static method in class io.keen.client.java.KeenUtils
 
getWriteKey() - Method in class io.keen.client.java.KeenProject
Getter for the Keen Write Key associated with this instance of the KeenClient.
GlobalPropertiesEvaluator - Interface in io.keen.client.java
An interface to simulate functional programming so that you can tell the KeenClient how to dynamically return Keen Global Properties based on event collection name.

H

hexStringToByteArray(String) - Static method in class io.keen.client.java.KeenUtils
 
HttpHandler - Interface in io.keen.client.java.http
Interface which provides an abstraction around making HTTP requests.

I

initialize(KeenClient) - Static method in class io.keen.client.java.KeenClient
Initializes the static Keen client.
InvalidEventCollectionException - Exception in io.keen.client.java.exceptions
InvalidEventCollectionException
InvalidEventCollectionException() - Constructor for exception io.keen.client.java.exceptions.InvalidEventCollectionException
 
InvalidEventCollectionException(Throwable) - Constructor for exception io.keen.client.java.exceptions.InvalidEventCollectionException
 
InvalidEventCollectionException(String) - Constructor for exception io.keen.client.java.exceptions.InvalidEventCollectionException
 
InvalidEventCollectionException(String, Throwable) - Constructor for exception io.keen.client.java.exceptions.InvalidEventCollectionException
 
InvalidEventException - Exception in io.keen.client.java.exceptions
InvalidEventException
InvalidEventException() - Constructor for exception io.keen.client.java.exceptions.InvalidEventException
 
InvalidEventException(Throwable) - Constructor for exception io.keen.client.java.exceptions.InvalidEventException
 
InvalidEventException(String) - Constructor for exception io.keen.client.java.exceptions.InvalidEventException
 
InvalidEventException(String, Throwable) - Constructor for exception io.keen.client.java.exceptions.InvalidEventException
 
io.keen.client.java - package io.keen.client.java
 
io.keen.client.java.exceptions - package io.keen.client.java.exceptions
 
io.keen.client.java.http - package io.keen.client.java.http
 
isActive() - Method in class io.keen.client.java.KeenClient
Gets whether or not the client is in active mode.
isDebugMode() - Method in class io.keen.client.java.KeenClient
Gets whether or not the Keen client is running in debug mode.
isInitialized() - Static method in class io.keen.client.java.KeenClient
Gets whether or not the singleton KeenClient has been initialized.
isLoggingEnabled() - Static method in class io.keen.client.java.KeenLogging
Whether or not logging is enabled.
isNetworkConnected() - Method in class io.keen.client.java.AlwaysConnectedNetworkStatusHandler
Default implementation of the isNetworkConnected method.
isNetworkConnected() - Method in interface io.keen.client.java.KeenNetworkStatusHandler
Reports on whether there is a network connection
isSuccess() - Method in class io.keen.client.java.http.Response
 

K

KeenAttemptCountingEventStore - Interface in io.keen.client.java
Interface which provides an abstraction layer around how attempt counts are stored.
KeenCallback - Interface in io.keen.client.java
An interface to allow callers to receive a callback on success or failure of an operation by the keen client.
KeenClient - Class in io.keen.client.java
KeenClient provides all of the functionality required to:
KeenClient(KeenClient.Builder) - Constructor for class io.keen.client.java.KeenClient
Constructs a Keen client using system environment variables.
KeenClient.Builder - Class in io.keen.client.java
Builder class for instantiating Keen clients.
KeenDetailedCallback - Interface in io.keen.client.java
An interface to allow callers to receive a callback on success or failure of an operation by the keen client.
KeenEventStore - Interface in io.keen.client.java
Interface which provides an abstraction layer around how events are stored in between being queued and being uploaded by a batch post operation.
KeenException - Exception in io.keen.client.java.exceptions
KeenException
KeenException() - Constructor for exception io.keen.client.java.exceptions.KeenException
 
KeenException(Throwable) - Constructor for exception io.keen.client.java.exceptions.KeenException
 
KeenException(String) - Constructor for exception io.keen.client.java.exceptions.KeenException
 
KeenException(String, Throwable) - Constructor for exception io.keen.client.java.exceptions.KeenException
 
KeenJsonHandler - Interface in io.keen.client.java
Interface for abstracting the tasks of converting an input Reader into an in-memory object (in the form of a Map&lt;String, Object&gt;), and for writing that object back out to a Writer.
KeenLogging - Class in io.keen.client.java
KeenLogging is a wrapper around a logging module and provides, well, logging for the Keen Java SDK.
KeenLogging() - Constructor for class io.keen.client.java.KeenLogging
 
KeenNetworkStatusHandler - Interface in io.keen.client.java
This interface holds methods for checking network conditions.
KeenProject - Class in io.keen.client.java
Encapsulation of a single Keen project, including read/write keys.
KeenProject() - Constructor for class io.keen.client.java.KeenProject
 
KeenProject(String, String, String) - Constructor for class io.keen.client.java.KeenProject
Construct a Keen project.
KeenUtils - Class in io.keen.client.java
KeenUtils
KeenUtils() - Constructor for class io.keen.client.java.KeenUtils
 

M

method - Variable in class io.keen.client.java.http.Request
 

N

NoWriteKeyException - Exception in io.keen.client.java.exceptions
NoWriteKeyException
NoWriteKeyException() - Constructor for exception io.keen.client.java.exceptions.NoWriteKeyException
 
NoWriteKeyException(Throwable) - Constructor for exception io.keen.client.java.exceptions.NoWriteKeyException
 
NoWriteKeyException(String) - Constructor for exception io.keen.client.java.exceptions.NoWriteKeyException
 
NoWriteKeyException(String, Throwable) - Constructor for exception io.keen.client.java.exceptions.NoWriteKeyException
 

O

onFailure(Exception) - Method in interface io.keen.client.java.KeenCallback
Invoked when the requested operation fails.
onFailure(KeenProject, String, Map<String, Object>, Map<String, Object>, Exception) - Method in interface io.keen.client.java.KeenDetailedCallback
Invoked when the requested operation fails.
onSuccess() - Method in interface io.keen.client.java.KeenCallback
Invoked when the requested operation succeeds.
onSuccess(KeenProject, String, Map<String, Object>, Map<String, Object>) - Method in interface io.keen.client.java.KeenDetailedCallback
Invoked when the requested operation succeeds.
openConnection(Request) - Method in class io.keen.client.java.http.UrlConnectionHttpHandler
Opens a connection based on the URL in the given request.
OutputSource - Interface in io.keen.client.java.http
Interface to allow writing to an OutputStream - in particular the output stream of an HTTP request - directly from a source.

P

proxy - Variable in class io.keen.client.java.http.Request
 

Q

queueEvent(String, Map<String, Object>) - Method in class io.keen.client.java.KeenClient
Queues an event in the default project with default Keen properties and no callbacks.
queueEvent(String, Map<String, Object>, Map<String, Object>) - Method in class io.keen.client.java.KeenClient
Queues an event in the default project with no callbacks.
queueEvent(KeenProject, String, Map<String, Object>, Map<String, Object>, KeenCallback) - Method in class io.keen.client.java.KeenClient
Synchronously queues an event for publishing.

R

RamEventStore - Class in io.keen.client.java
Implementation of KeenEventStore which simply keeps a copy of each event in memory until it is explicitly removed.
RamEventStore() - Constructor for class io.keen.client.java.RamEventStore
Constructs a new RAM-based event store.
readJson(Reader) - Method in interface io.keen.client.java.KeenJsonHandler
Reads JSON-formatted data from the provided Reader and constructs a Map representing the object described.
readResponse(HttpURLConnection) - Method in class io.keen.client.java.http.UrlConnectionHttpHandler
Reads a Response from an existing connection.
remove(Object) - Method in class io.keen.client.java.FileEventStore
Removes the specified event from the store.
remove(Object) - Method in interface io.keen.client.java.KeenEventStore
Removes the specified event from the store.
remove(Object) - Method in class io.keen.client.java.RamEventStore
Removes the specified event from the store.
Request - Class in io.keen.client.java.http
Encapsulates an HTTP request.
Request(URL, String, String, OutputSource) - Constructor for class io.keen.client.java.http.Request
 
Request(URL, String, String, OutputSource, Proxy) - Constructor for class io.keen.client.java.http.Request
 
Response - Class in io.keen.client.java.http
Encapsulates an HTTP response.
Response(int, String) - Constructor for class io.keen.client.java.http.Response
 

S

ScopedKeyException - Exception in io.keen.client.java.exceptions
ScopedKeyException
ScopedKeyException() - Constructor for exception io.keen.client.java.exceptions.ScopedKeyException
 
ScopedKeyException(Throwable) - Constructor for exception io.keen.client.java.exceptions.ScopedKeyException
 
ScopedKeyException(String) - Constructor for exception io.keen.client.java.exceptions.ScopedKeyException
 
ScopedKeyException(String, Throwable) - Constructor for exception io.keen.client.java.exceptions.ScopedKeyException
 
ScopedKeys - Class in io.keen.client.java
ScopedKeys is a utility class for dealing with Keen IO Scoped Keys.
ScopedKeys() - Constructor for class io.keen.client.java.ScopedKeys
 
sendQueuedEvents() - Method in class io.keen.client.java.KeenClient
Sends all queued events for the default project with no callbacks.
sendQueuedEvents(KeenProject) - Method in class io.keen.client.java.KeenClient
Sends all queued events for the specified project with no callbacks.
sendQueuedEvents(KeenProject, KeenCallback) - Method in class io.keen.client.java.KeenClient
Synchronously sends all queued events for the given project.
sendQueuedEventsAsync() - Method in class io.keen.client.java.KeenClient
Sends all queued events for the default project with no callbacks.
sendQueuedEventsAsync(KeenProject) - Method in class io.keen.client.java.KeenClient
Sends all queued events for the specified project with no callbacks.
sendQueuedEventsAsync(KeenProject, KeenCallback) - Method in class io.keen.client.java.KeenClient
Asynchronously sends all queued events for the given project.
sendRequest(HttpURLConnection, Request) - Method in class io.keen.client.java.http.UrlConnectionHttpHandler
Sends a request over a given connection.
ServerException - Exception in io.keen.client.java.exceptions
ServerException
ServerException() - Constructor for exception io.keen.client.java.exceptions.ServerException
 
ServerException(Throwable) - Constructor for exception io.keen.client.java.exceptions.ServerException
 
ServerException(String) - Constructor for exception io.keen.client.java.exceptions.ServerException
 
ServerException(String, Throwable) - Constructor for exception io.keen.client.java.exceptions.ServerException
 
setActive(boolean) - Method in class io.keen.client.java.KeenClient
Sets whether or not the client is in active mode.
setAttempts(String, String, String) - Method in class io.keen.client.java.FileEventStore
Set and stores the attempts String for a given project and collection.
setAttempts(String, String, String) - Method in interface io.keen.client.java.KeenAttemptCountingEventStore
Set and stores the attempts String for a given project and collection.
setAttempts(String, String, String) - Method in class io.keen.client.java.RamEventStore
Set and stores the attempts String for a given project and collection.
setBaseUrl(String) - Method in class io.keen.client.java.KeenClient
Sets the base API URL associated with this instance of the KeenClient.
setDebugMode(boolean) - Method in class io.keen.client.java.KeenClient
Sets whether or not the Keen client should run in debug mode.
setDefaultProject(KeenProject) - Method in class io.keen.client.java.KeenClient
Sets the default project that this KeenClient should use if no project is specified.
setEventStore(KeenEventStore) - Method in class io.keen.client.java.KeenClient.Builder
Sets the KeenEventStore to use for storing events in between batch publish operations.
setGlobalProperties(Map<String, Object>) - Method in class io.keen.client.java.KeenClient
Call this to set the Keen Global Properties Map for this instance of the KeenClient.
setGlobalPropertiesEvaluator(GlobalPropertiesEvaluator) - Method in class io.keen.client.java.KeenClient
Call this to set the GlobalPropertiesEvaluator for this instance of the KeenClient.
setHttpHandler(HttpHandler) - Method in class io.keen.client.java.KeenClient.Builder
Sets the HttpHandler to use for making HTTP requests.
setJsonHandler(KeenJsonHandler) - Method in class io.keen.client.java.KeenClient.Builder
Sets the KeenJsonHandler to use for handling JSON operations.
setMaxAttempts(int) - Method in class io.keen.client.java.KeenClient
Sets the maximum number of HTTPS POST retry attempts for all events added in the future.
setMaxEventsPerCollection(int) - Method in class io.keen.client.java.RamEventStore
Sets the number of events that can be stored for a single collection before aging them out.
setNetworkStatusHandler(KeenNetworkStatusHandler) - Method in class io.keen.client.java.KeenClient.Builder
Sets the KeenNetworkStatusHandler to use.
setProxy(String, int) - Method in class io.keen.client.java.KeenClient
Sets an HTTP proxy server configuration for this client.
setProxy(Proxy) - Method in class io.keen.client.java.KeenClient
Sets an HTTP proxy server configuration for this client.
setPublishExecutor(Executor) - Method in class io.keen.client.java.KeenClient.Builder
Sets the Executor to use for asynchronous publishing operations.
statusCode - Variable in class io.keen.client.java.http.Response
 
store(String, String, String) - Method in class io.keen.client.java.FileEventStore
Stores the given event.
store(String, String, String) - Method in interface io.keen.client.java.KeenEventStore
Stores the given event.
store(String, String, String) - Method in class io.keen.client.java.RamEventStore
Stores the given event.

U

url - Variable in class io.keen.client.java.http.Request
 
UrlConnectionHttpHandler - Class in io.keen.client.java.http
This class provides a default implementation of HttpHandler using HttpURLConnection.
UrlConnectionHttpHandler() - Constructor for class io.keen.client.java.http.UrlConnectionHttpHandler
 

V

validateAndBuildEvent(KeenProject, String, Map<String, Object>, Map<String, Object>) - Method in class io.keen.client.java.KeenClient
Validates an event and inserts global properties, producing a new event object which is ready to be published to the Keen service.

W

withEventStore(KeenEventStore) - Method in class io.keen.client.java.KeenClient.Builder
Sets the KeenEventStore to use for storing events in between batch publish operations.
withHttpHandler(HttpHandler) - Method in class io.keen.client.java.KeenClient.Builder
Sets the HttpHandler to use for making HTTP requests.
withJsonHandler(KeenJsonHandler) - Method in class io.keen.client.java.KeenClient.Builder
Sets the KeenJsonHandler to use for handling JSON operations.
withNetworkStatusHandler(KeenNetworkStatusHandler) - Method in class io.keen.client.java.KeenClient.Builder
Sets the KeenNetworkStatusHandler to use.
withPublishExecutor(Executor) - Method in class io.keen.client.java.KeenClient.Builder
Sets the Executor to use for asynchronous publishing operations.
writeJson(Writer, Map<String, ?>) - Method in interface io.keen.client.java.KeenJsonHandler
Writes the given object (in the form of a Map<String, Object> to the specified Writer.
writeTo(OutputStream) - Method in interface io.keen.client.java.http.OutputSource
Writes data to the given OutputStream.
A B C D E F G H I K M N O P Q R S U V W 
Skip navigation links