Index
All Classes and Interfaces|All Packages
A
- addHeaderColumn(String) - Method in class org.refcodes.logger.alt.simpledb.SimpleDbLogger
-
Adds a key to the dynamically created
Header
for reducing object creation overhead when massively logging data as noColumn
instances are created once the key was already added.
C
- clear() - Method in class org.refcodes.logger.alt.simpledb.SimpleDbTrimLogger
- clearDomain(AmazonSimpleDB, String) - Static method in class org.refcodes.logger.alt.simpledb.SimpleDbQueryLogger
-
Clears all content from the given Amazon SimpleDB domain.
- createInstance(String) - Method in class org.refcodes.logger.alt.simpledb.SimpleDbLoggerFactory
- createInstance(String) - Method in class org.refcodes.logger.alt.simpledb.SimpleDbQueryLoggerFactory
- createInstance(String) - Method in class org.refcodes.logger.alt.simpledb.SimpleDbTrimLoggerFactory
- createInstance(String, Map<String, String>) - Method in class org.refcodes.logger.alt.simpledb.SimpleDbLoggerFactory
D
- decompose() - Method in class org.refcodes.logger.alt.simpledb.SimpleDbLogger
- deleteLogs(Criteria) - Method in class org.refcodes.logger.alt.simpledb.SimpleDbTrimLogger
- destroy() - Method in class org.refcodes.logger.alt.simpledb.SimpleDbLogger
- destroy() - Method in class org.refcodes.logger.alt.simpledb.SimpleDbQueryLogger
F
- findLogs() - Method in class org.refcodes.logger.alt.simpledb.SimpleDbQueryLogger
- findLogs(int) - Method in class org.refcodes.logger.alt.simpledb.SimpleDbQueryLogger
- findLogs(Criteria) - Method in class org.refcodes.logger.alt.simpledb.SimpleDbQueryLogger
- findLogs(Criteria, int) - Method in class org.refcodes.logger.alt.simpledb.SimpleDbQueryLogger
- findLogs(Criteria, Header<T>) - Method in class org.refcodes.logger.alt.simpledb.SimpleDbQueryLogger
- findLogs(Criteria, Header<T>, int) - Method in class org.refcodes.logger.alt.simpledb.SimpleDbQueryLogger
- findLogs(Header<T>, int) - Method in class org.refcodes.logger.alt.simpledb.SimpleDbQueryLogger
- flush() - Method in class org.refcodes.logger.alt.simpledb.SimpleDbLogger
- flushBuffer() - Method in class org.refcodes.logger.alt.simpledb.SimpleDbLogger
-
Flushes the buffer with
Records
already encapsulated in Amazon SimpleDB's items.
G
- getAccessKey() - Method in class org.refcodes.logger.alt.simpledb.SimpleDbLoggerFactory
-
Retrieves the Amazon access key.
- getAmazonSimpleDbClient() - Method in class org.refcodes.logger.alt.simpledb.SimpleDbQueryLogger
-
Retrieves the amazon SimpleDB client to be used.
- getAmazonSimpleDbClient(File) - Static method in class org.refcodes.logger.alt.simpledb.SimpleDbQueryLogger
-
Retrieves an
AmazonSimpleDBClient
from a configuration file containing the access- and the secret key. - getAmazonSimpleDbDomainName() - Method in class org.refcodes.logger.alt.simpledb.SimpleDbQueryLogger
-
Retrieves the domain name to be used.
- getColumnFactory() - Method in class org.refcodes.logger.alt.simpledb.SimpleDbLoggerFactory
-
Retrieves the
ColumnFactory
to be used. - getDomainNames(AmazonSimpleDBClient) - Static method in class org.refcodes.logger.alt.simpledb.SimpleDbQueryLogger
-
Retrieves a list of domain names retrievable from the given
AmazonSimpleDBClient
. - getEndPoint() - Method in class org.refcodes.logger.alt.simpledb.SimpleDbLoggerFactory
-
Retrieves the Amazon SimpleDB end-point.
- getHeader() - Method in class org.refcodes.logger.alt.simpledb.SimpleDbLogger
-
Provides access to the
Header
member variable required forRecord
related operation. - getSchemaPrefix() - Method in class org.refcodes.logger.alt.simpledb.SimpleDbLoggerFactory
-
Provides access to the schema prefix.
- getSecretKey() - Method in class org.refcodes.logger.alt.simpledb.SimpleDbLoggerFactory
-
Retrieves the Amazon secret key.
H
- hasDomain(AmazonSimpleDBClient, String) - Static method in class org.refcodes.logger.alt.simpledb.SimpleDbQueryLogger
-
Tests whether the given domain exists in Amazon SimpleDB.
- hasNext() - Method in class org.refcodes.logger.alt.simpledb.SimpleDbQueryLogger.SimpleDbRecords
I
- initialize() - Method in class org.refcodes.logger.alt.simpledb.SimpleDbLogger
- isRequestTimeoutException(Exception) - Static method in class org.refcodes.logger.alt.simpledb.SimpleDbQueryLogger
-
Checks if is request timeout exception.
- isServiceUnavailableException(Exception) - Static method in class org.refcodes.logger.alt.simpledb.SimpleDbQueryLogger
-
Checks if is service unavailable exception.
L
- log(Record<? extends T>) - Method in class org.refcodes.logger.alt.simpledb.SimpleDbLogger
-
Log.
N
- next() - Method in class org.refcodes.logger.alt.simpledb.SimpleDbQueryLogger.SimpleDbRecords
- nextItem() - Method in class org.refcodes.logger.alt.simpledb.SimpleDbQueryLogger.SimpleDbRecords
-
"Raw" method to retrieve the next item from Simple DB.
O
- org.refcodes.logger.alt.simpledb - module org.refcodes.logger.alt.simpledb
- org.refcodes.logger.alt.simpledb - package org.refcodes.logger.alt.simpledb
-
This artifact extends the refcodes-logger toolkit with Amazon SimpleDB logging functionality as of the
SimpleDbLogger
,SimpleDbQueryLogger
andSimpleDbTrimLogger
types.
R
- remove() - Method in class org.refcodes.logger.alt.simpledb.SimpleDbQueryLogger.SimpleDbRecords
S
- setAmazonSimpleDbDomainName(String) - Method in class org.refcodes.logger.alt.simpledb.SimpleDbQueryLogger
-
Sets the domain name to be used.
- SimpleDbLogger<T> - Class in org.refcodes.logger.alt.simpledb
-
The
SimpleDbLogger
is the Amazon SimpleDB implementation of theLogger
interface. - SimpleDbLogger(String, String, String, String, ColumnFactory<T>) - Constructor for class org.refcodes.logger.alt.simpledb.SimpleDbLogger
-
Constructs the
SimpleDbLogger
for a given SimpleDB domain. - SimpleDbLogger(String, String, String, ColumnFactory<T>) - Constructor for class org.refcodes.logger.alt.simpledb.SimpleDbLogger
-
Constructs the
SimpleDbLogger
for a given SimpleDB domain. - SimpleDbLoggerFactory<T> - Class in org.refcodes.logger.alt.simpledb
-
Ready to use
LoggerFactory
to createLogger
instances directly attached to Amazon SimpleDb. - SimpleDbLoggerFactory(String, String, String, String, ColumnFactory<T>) - Constructor for class org.refcodes.logger.alt.simpledb.SimpleDbLoggerFactory
-
Instantiates a new simple db logger factory impl.
- SimpleDbQueryLogger<T> - Class in org.refcodes.logger.alt.simpledb
-
The
SimpleDbQueryLogger
extends theSimpleDbLogger
implementation with theQueryLogger
functionality. - SimpleDbQueryLogger(String, String, String, String, ColumnFactory<T>) - Constructor for class org.refcodes.logger.alt.simpledb.SimpleDbQueryLogger
-
Constructs the
SimpleDbQueryLogger
for a given SimpleDB domain. - SimpleDbQueryLogger(String, String, String, ColumnFactory<T>) - Constructor for class org.refcodes.logger.alt.simpledb.SimpleDbQueryLogger
-
Constructs the
SimpleDbQueryLogger
for a given SimpleDB domain. - SimpleDbQueryLogger.SimpleDbRecords - Class in org.refcodes.logger.alt.simpledb
-
This iterator encapsulates an Amazon select request for the business logic to simply iterate through the results.
- SimpleDbQueryLoggerFactory<T> - Class in org.refcodes.logger.alt.simpledb
-
Ready to use
QueryLogger
to createQueryLogger
instances directly attached to Amazon SimpleDb. - SimpleDbQueryLoggerFactory(String, String, String, String, ColumnFactory<T>) - Constructor for class org.refcodes.logger.alt.simpledb.SimpleDbQueryLoggerFactory
-
Instantiates a new simple db query logger factory impl.
- SimpleDbRecords(String) - Constructor for class org.refcodes.logger.alt.simpledb.SimpleDbQueryLogger.SimpleDbRecords
-
Constructs a
Records
iterator from a SimpleDB query and the requiredHeader
. - SimpleDbRecords(String, Header<T>) - Constructor for class org.refcodes.logger.alt.simpledb.SimpleDbQueryLogger.SimpleDbRecords
-
Constructs a
Records
iterator from a SimpleDB query and the requiredHeader
. - SimpleDbTrimLogger<T> - Class in org.refcodes.logger.alt.simpledb
-
The
SimpleDbTrimLogger
extends theSimpleDbQueryLogger
implementation with theTrimLogger
functionality. - SimpleDbTrimLogger(String, String, String, String, ColumnFactory<T>) - Constructor for class org.refcodes.logger.alt.simpledb.SimpleDbTrimLogger
-
Instantiates a new simple db trim logger impl.
- SimpleDbTrimLogger(String, String, String, ColumnFactory<T>) - Constructor for class org.refcodes.logger.alt.simpledb.SimpleDbTrimLogger
-
Instantiates a new simple db trim logger impl.
- SimpleDbTrimLoggerFactory<T> - Class in org.refcodes.logger.alt.simpledb
-
Ready to use
TrimLogger
to createTrimLogger
instances directly attached to Amazon SimpleDb. - SimpleDbTrimLoggerFactory(String, String, String, String, ColumnFactory<T>) - Constructor for class org.refcodes.logger.alt.simpledb.SimpleDbTrimLoggerFactory
-
Instantiates a new simple db trim logger factory impl.
T
- toMessage(Throwable) - Static method in class org.refcodes.logger.alt.simpledb.SimpleDbQueryLogger
-
Creates an Amazon AWS specific exception message from the given throwable containing additional information such as the AWS error code, the AWS error type, the request ID, the service name and the status code.
- toSqlQuery(Criteria, int) - Method in class org.refcodes.logger.alt.simpledb.SimpleDbQueryLogger
-
Creates an SQL SELECT query from the given
Criteria
and the provided limit.
All Classes and Interfaces|All Packages