public static class CassandraAppender.Builder<B extends CassandraAppender.Builder<B>> extends AbstractAppender.Builder<B> implements Builder<CassandraAppender>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CassandraAppender |
build()
Builds the object after all configuration has been set.
|
B |
setBatched(boolean batched) |
B |
setBatchType(BatchStatement.Type batchType) |
B |
setBufferSize(int bufferSize) |
B |
setClusterName(String clusterName) |
B |
setColumns(ColumnMapping... columns) |
B |
setContactPoints(SocketAddress... contactPoints) |
B |
setKeyspace(String keyspace) |
B |
setPassword(String password) |
B |
setTable(String table) |
B |
setUseClockForTimestampGenerator(boolean useClockForTimestampGenerator) |
B |
setUsername(String username) |
B |
setUseTls(boolean useTls) |
getConfiguration, getLayout, getName, getOrCreateLayout, getOrCreateLayout, isIgnoreExceptions, setConfiguration, withConfiguration, withIgnoreExceptions, withLayout, withName
asBuilder, getFilter, withFilter
public B setContactPoints(SocketAddress... contactPoints)
public B setColumns(ColumnMapping... columns)
public B setUseTls(boolean useTls)
public B setUseClockForTimestampGenerator(boolean useClockForTimestampGenerator)
public B setBufferSize(int bufferSize)
public B setBatched(boolean batched)
public B setBatchType(BatchStatement.Type batchType)
public CassandraAppender build()
Builder
build
in interface Builder<CassandraAppender>
Copyright © 1999-2017. 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.