uk.org.simonsite.log4j.appender
Class AppenderRollingProperties

java.lang.Object
  extended by uk.org.simonsite.log4j.appender.AppenderRollingProperties

final class AppenderRollingProperties
extends Object

Configuration properties used by the TimeAndSizeRollingAppender.

Version:
2.6
Author:
Simon Park

Constructor Summary
AppenderRollingProperties()
           
 
Method Summary
(package private)  long getBytesWrittenCount()
           
(package private)  String getCompressionAlgorithm()
           
(package private)  int getCompressionLevel()
           
(package private)  long getCompressionMaxWait()
           
(package private)  int getCompressionMinQueueSize()
           
(package private)  SynchronizedCountingQuietWriter getCountingQuietWriter()
           
(package private)  String getDatePattern()
           
(package private)  Locale getDatePatternLocale()
           
(package private)  long getMaxFileSize()
           
(package private)  int getMaxRollFileCount()
           
(package private)  long getMinFreeDiscSpace()
           
(package private)  long getNextRollOverTime()
           
(package private)  long getNextRollOverTimeWithWait()
           
(package private)  long getScavengeInterval()
           
(package private)  TimeZone getTimeZone()
           
(package private)  boolean isActivatingAppender()
           
(package private)  boolean isCompressionBlocking()
           
(package private)  boolean isDateRollEnforced()
           
(package private)  boolean isFlushAfterWrite()
           
(package private)  void setActivatingAppender(boolean activatingAppender)
           
(package private)  void setBytesWrittenCount(long byteCount)
           
(package private)  void setCompressionAlgorithm(String compressionAlgorithm)
           
(package private)  void setCompressionBlocking(boolean compressionBlocks)
           
(package private)  void setCompressionLevel(int compressionLevel)
           
(package private)  void setCompressionMaxWait(long compressionMaxWait)
           
(package private)  void setCompressionMinQueueSize(int compressionMinQueueSize)
           
(package private)  void setCountingQuietWriter(SynchronizedCountingQuietWriter countingQuietWriter)
           
(package private)  void setDatePattern(String datePattern)
           
(package private)  void setDatePatternLocale(Locale datePatternLocale)
           
(package private)  void setDateRollEnforced(boolean dateRollEnforced)
           
(package private)  void setFlushAfterWrite(boolean flushAfterWrite)
           
(package private)  void setMaxFileSize(long maxFileSize)
           
(package private)  void setMaxRollFileCount(int maxRollFileCount)
           
(package private)  void setMinFreeDiscSpace(long minFreeDiskSpace)
           
(package private)  void setNextRollOverTime(long nextRollOverTime)
           
(package private)  void setRollOnStartup(boolean rollOnStartup)
           
(package private)  void setScavengeInterval(long scavengeInterval)
           
(package private)  void setTimeZone(TimeZone timeZone)
           
(package private)  boolean shouldRollOnActivation()
           
(package private)  boolean shouldRollOnStartup()
           
(package private)  boolean updateRolledOnStartup()
           
(package private)  boolean wasRolledOnStartup()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppenderRollingProperties

AppenderRollingProperties()
Method Detail

isActivatingAppender

final boolean isActivatingAppender()
Returns:
the activatingAppender

setActivatingAppender

final void setActivatingAppender(boolean activatingAppender)
Parameters:
activatingAppender - the activatingAppender to set

isFlushAfterWrite

final boolean isFlushAfterWrite()

setFlushAfterWrite

final void setFlushAfterWrite(boolean flushAfterWrite)

getBytesWrittenCount

final long getBytesWrittenCount()
Returns:
The number of bytes accounted for by the internal writer.

setBytesWrittenCount

final void setBytesWrittenCount(long byteCount)
Parameters:
byteCount - The number of bytes already written to a file.

getCountingQuietWriter

final SynchronizedCountingQuietWriter getCountingQuietWriter()

setCountingQuietWriter

final void setCountingQuietWriter(SynchronizedCountingQuietWriter countingQuietWriter)

getDatePattern

final String getDatePattern()

setDatePattern

final void setDatePattern(String datePattern)

getDatePatternLocale

final Locale getDatePatternLocale()

setDatePatternLocale

final void setDatePatternLocale(Locale datePatternLocale)

getTimeZone

final TimeZone getTimeZone()

setTimeZone

final void setTimeZone(TimeZone timeZone)

isDateRollEnforced

final boolean isDateRollEnforced()

setDateRollEnforced

final void setDateRollEnforced(boolean dateRollEnforced)

getNextRollOverTime

final long getNextRollOverTime()

getNextRollOverTimeWithWait

final long getNextRollOverTimeWithWait()

setNextRollOverTime

final void setNextRollOverTime(long nextRollOverTime)

getMaxFileSize

final long getMaxFileSize()

setMaxFileSize

final void setMaxFileSize(long maxFileSize)

shouldRollOnStartup

final boolean shouldRollOnStartup()

setRollOnStartup

final void setRollOnStartup(boolean rollOnStartup)

wasRolledOnStartup

final boolean wasRolledOnStartup()

updateRolledOnStartup

final boolean updateRolledOnStartup()
Returns:
true if the appender should now go ahead and roll

shouldRollOnActivation

final boolean shouldRollOnActivation()

getMaxRollFileCount

final int getMaxRollFileCount()

setMaxRollFileCount

final void setMaxRollFileCount(int maxRollFileCount)

getMinFreeDiscSpace

final long getMinFreeDiscSpace()

setMinFreeDiscSpace

final void setMinFreeDiscSpace(long minFreeDiskSpace)

getScavengeInterval

final long getScavengeInterval()
Returns:
the scavengeInterval

setScavengeInterval

final void setScavengeInterval(long scavengeInterval)
Parameters:
scavengeInterval - the scavengeInterval to set

getCompressionAlgorithm

final String getCompressionAlgorithm()

setCompressionAlgorithm

final void setCompressionAlgorithm(String compressionAlgorithm)

getCompressionMaxWait

final long getCompressionMaxWait()

setCompressionMaxWait

final void setCompressionMaxWait(long compressionMaxWait)

getCompressionLevel

final int getCompressionLevel()

setCompressionLevel

final void setCompressionLevel(int compressionLevel)

isCompressionBlocking

final boolean isCompressionBlocking()

setCompressionBlocking

final void setCompressionBlocking(boolean compressionBlocks)

getCompressionMinQueueSize

final int getCompressionMinQueueSize()

setCompressionMinQueueSize

final void setCompressionMinQueueSize(int compressionMinQueueSize)