public class CassandraManager extends AbstractDatabaseManager
AbstractDatabaseManager.AbstractFactoryData
count, LOGGER
Modifier and Type | Method and Description |
---|---|
protected boolean |
commitAndClose() |
protected void |
connectAndStart() |
static CassandraManager |
getManager(String name,
SocketAddress[] contactPoints,
ColumnMapping[] columns,
boolean useTls,
String clusterName,
String keyspace,
String table,
String username,
String password,
boolean useClockForTimestampGenerator,
int bufferSize,
boolean batched,
com.datastax.driver.core.BatchStatement.Type batchType) |
protected boolean |
shutdownInternal() |
protected void |
startupInternal() |
protected void |
writeInternal(LogEvent event) |
flush, getManager, isRunning, releaseSub, shutdown, startup, toString, write
close, getContentFormat, getCount, getLoggerContext, getName, hasManager, log, logDebug, logError, logWarn, release, stop, updateData
protected void startupInternal() throws Exception
startupInternal
in class AbstractDatabaseManager
Exception
protected boolean shutdownInternal() throws Exception
shutdownInternal
in class AbstractDatabaseManager
Exception
protected void connectAndStart()
connectAndStart
in class AbstractDatabaseManager
protected void writeInternal(LogEvent event)
writeInternal
in class AbstractDatabaseManager
protected boolean commitAndClose()
commitAndClose
in class AbstractDatabaseManager
public static CassandraManager getManager(String name, SocketAddress[] contactPoints, ColumnMapping[] columns, boolean useTls, String clusterName, String keyspace, String table, String username, String password, boolean useClockForTimestampGenerator, int bufferSize, boolean batched, com.datastax.driver.core.BatchStatement.Type batchType)
Copyright © 1999-2017 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.