T
- The type of the Record
instances managed by the
Logger
.public class SimpleDbLoggerFactory<T> extends Object
LoggerFactory
to create Logger
instances
directly attached to Amazon SimpleDb.Constructor | Description |
---|---|
SimpleDbLoggerFactory(String aDomainPrefix,
String aAccessKey,
String aSecretKey,
String aEndPoint,
org.refcodes.tabular.ColumnFactory<T> aColumnFactory) |
Instantiates a new simple db logger factory impl.
|
Modifier and Type | Method | Description |
---|---|---|
L |
createInstance(String aDomainSuffix,
Map<String,String> aProperties) |
|
org.refcodes.logger.Logger<T> |
createInstance(String aSchemaSuffix) |
|
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 SimpleDbLoggerFactory(String aDomainPrefix, String aAccessKey, String aSecretKey, String aEndPoint, org.refcodes.tabular.ColumnFactory<T> aColumnFactory)
aDomainPrefix
- the domain prefixaAccessKey
- the access keyaSecretKey
- the secret keyaEndPoint
- the end pointaColumnFactory
- the column factorypublic L createInstance(String aDomainSuffix, Map<String,String> aProperties)
createInstance
in interface org.refcodes.factory.LookupFactory<L extends org.refcodes.logger.Logger<T>,T>
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 © 2021. All rights reserved.