L
- The type (sub-type) of the Logger
to be created.T
- The type of the Record
instances managed by the
Logger
.public abstract class AbstractSimpleDbQueryLoggerFactory<L extends org.refcodes.logger.QueryLogger<T>,T> extends AbstractSimpleDbLoggerFactory<L,T> implements org.refcodes.logger.factories.LoggerFactory<L>
AbstractSimpleDbQueryLoggerFactory
implements the
LoggerToRuntimeLoggerFactory
and creates QueryLogger
instances using the
SimpleDB NoSQL engine from Amazon. The LoggerToRuntimeLoggerFactory
methods
AbstractSimpleDbLoggerFactory.createInstance(String)
and AbstractSimpleDbLoggerFactory.createInstance(String)
actually
return TrimLoggerSimpleDbImpl
instances being configured to use an
Amazon SimpleDB domain name constructed from an Amazon SimpleDB domain prefix
(provided to the constructor) and suffix (provided to the factory methods).Constructor and Description |
---|
AbstractSimpleDbQueryLoggerFactory(String aDomainPrefix,
String aAccessKey,
String aSecretKey,
String aEndPoint,
org.refcodes.tabular.factories.ColumnFactory<T> aColumnFactory)
Creates an
AbstractSimpleDbQueryLoggerFactory for creating Amazon
SimpleDB based QueryLogger instances. |
createInstance, createInstance, getAccessKey, getColumnFactory, getEndPoint, getSchemaPrefix, getSecretKey
public AbstractSimpleDbQueryLoggerFactory(String aDomainPrefix, String aAccessKey, String aSecretKey, String aEndPoint, org.refcodes.tabular.factories.ColumnFactory<T> aColumnFactory)
AbstractSimpleDbQueryLoggerFactory
for creating Amazon
SimpleDB based QueryLogger
instances.aDomainPrefix
- The Amazon SimpleDB domain name's prefix.aAccessKey
- The Amazon access key to use.aSecretKey
- The Amazon secret key to use.aEndPoint
- The end-point (Amazon region) to use.aColumnFactory
- The ColumnFactory
used to handle the
Column
instances.aRecordFactory
- The RecordFactory
to create Records
to configure the created QueryLogger
instances.Copyright © 2015. All rights reserved.