T
- The type of the Record
instances managed by the
Logger
.public class SimpleDbTrimLoggerFactoryImpl<T> extends Object
TrimLogger
to create TrimLogger
instances
directly attached to Amazon SimpleDb.Constructor and Description |
---|
SimpleDbTrimLoggerFactoryImpl(String aSchemaPrefix,
String aAccessKey,
String aSecretKey,
String aEndPoint,
org.refcodes.tabular.ColumnFactory<T> aColumnFactory)
Instantiates a new simple db trim logger factory impl.
|
Modifier and Type | Method and Description |
---|---|
org.refcodes.logger.TrimLogger<T> |
createInstance(String aSchemaSuffix) |
L |
createInstance(String aDomainSuffix,
Map<String,String> aProperties) |
protected String |
getAccessKey()
Retrieves the Amazon access key.
|
protected org.refcodes.tabular.ColumnFactory<T> |
getColumnFactory()
Retrieves the
ColumnFactory to be used. |
protected String |
getEndPoint()
Retrieves the Amazon SimpleDB end-point.
|
protected String |
getSchemaPrefix()
Provides access to the schema prefix.
|
protected String |
getSecretKey()
Retrieves the Amazon secret key.
|
public SimpleDbTrimLoggerFactoryImpl(String aSchemaPrefix, String aAccessKey, String aSecretKey, String aEndPoint, org.refcodes.tabular.ColumnFactory<T> aColumnFactory)
aSchemaPrefix
- the a schema prefixaAccessKey
- the a access keyaSecretKey
- the a secret keyaEndPoint
- the a end pointaColumnFactory
- the a column factorypublic L createInstance(String aDomainSuffix, Map<String,String> aProperties)
createInstance
in interface org.refcodes.factory.LookupFactory<L extends org.refcodes.logger.Logger<T>,String>
protected String getSchemaPrefix()
protected String getAccessKey()
protected String getSecretKey()
protected String getEndPoint()
protected org.refcodes.tabular.ColumnFactory<T> getColumnFactory()
ColumnFactory
to be used.ColumnFactory
to be used.Copyright © 2017. All rights reserved.