|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface BlitzConfig
| Method Summary | |
|---|---|
java.lang.String[] |
getAsyncAppenderImplementationNames()
Get the list of asynchronous appender names so that they can be treated a little differently during dynamic reconfiguration. |
java.lang.String[] |
getAsyncAppenders()
Get the list of asynchronous appenders. |
double |
getBatcherMaxDelay(java.lang.String batcherName)
Gets the time to wait for the messages to be batcher before it is given to processor threads. |
int |
getBatcherMaxThreads(java.lang.String batcherName)
Gets the maximum number of processing threads that should be run to handle the messages. |
int |
getBatcherMinThreads(java.lang.String batcherName)
Gets the minimum number of processing threads that should be run to handle the messages. |
int |
getBatcherQueueMaxMessages(java.lang.String batcherName)
Gets the maximum number of messages allowed in the buffer. |
int |
getBatcherThreadKeepAliveTime(java.lang.String batcherName)
Gets the time to keep the processing threads alive when they are idle. |
int |
getBatcherWaitTimeBeforeShutdown(java.lang.String batcherName)
Get the time to wait before the batcher flushes out all its messages in the buffer. |
int |
getBatchSize(java.lang.String batcherName)
Gets the batch size of each batch for which the log processing is done. |
int |
getLogSummaryExpiry(java.lang.String originalAppenderName)
Get the time in seconds that the summary that is stored will expire. |
int |
getLogSummarySize(java.lang.String originalAppenderName)
Get the size of the log summary information. |
boolean |
shouldGenerateBlitz4jLocationInfo()
Checks whether the blitz4j based location information is generated or not. |
boolean |
shouldGenerateLog4jLocationInfo()
Checks whether the log4j based location information is generated or not. |
boolean |
shouldPrintLoggingErrors()
Indicates whether blitz4j should print the errors during logging for debugging. |
boolean |
shouldRejectWhenAllBatcherThreadsUsed(java.lang.String batcherName)
Checks to see if the collector threads that hands the message to the processor threads should participate in processing or not when all the threads are used up. |
boolean |
shouldSummarizeOverflow(java.lang.String originalAppenderName)
Checks whether the summary information should be generated when the asynchronous buffer becomes full. |
boolean |
shouldUseLockFree()
Indicates whether blitz4j should use its less contended implementation. |
boolean |
shouldWaitWhenBatcherQueueNotEmpty(java.lang.String batcherName)
Checks to see whether the caller threads should block and wait if the internal buffer is full. |
| Method Detail |
|---|
boolean shouldUseLockFree()
boolean shouldPrintLoggingErrors()
java.lang.String[] getAsyncAppenders()
int getLogSummaryExpiry(java.lang.String originalAppenderName)
originalAppenderName - - The name of the appender for which the logging is done
int getLogSummarySize(java.lang.String originalAppenderName)
originalAppenderName - - The name of the appender for which the logging is done
boolean shouldGenerateBlitz4jLocationInfo()
boolean shouldGenerateLog4jLocationInfo()
boolean shouldSummarizeOverflow(java.lang.String originalAppenderName)
originalAppenderName - - The appender name for which the logging is done
java.lang.String[] getAsyncAppenderImplementationNames()
int getBatcherQueueMaxMessages(java.lang.String batcherName)
batcherName - - The name of the batcher
int getBatchSize(java.lang.String batcherName)
batcherName - - The name of the batcher
int getBatcherWaitTimeBeforeShutdown(java.lang.String batcherName)
batcherName - - The name of the batcher
double getBatcherMaxDelay(java.lang.String batcherName)
batcherName - - The name of the batcher.
boolean shouldWaitWhenBatcherQueueNotEmpty(java.lang.String batcherName)
batcherName - - The name of the batcher.
int getBatcherMinThreads(java.lang.String batcherName)
batcherName - - The name of the batcher.
int getBatcherMaxThreads(java.lang.String batcherName)
batcherName - - The name of the batcher
int getBatcherThreadKeepAliveTime(java.lang.String batcherName)
batcherName - - The name of the batcher
boolean shouldRejectWhenAllBatcherThreadsUsed(java.lang.String batcherName)
batcherName - - The name of the batcher
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||