public class SizeRotatingFileHandlerService extends Object
Constructor and Description |
---|
SizeRotatingFileHandlerService() |
Modifier and Type | Method and Description |
---|---|
String |
getEncoding() |
org.jboss.msc.inject.Injector<String> |
getFileNameInjector() |
FormatterSpec |
getFormatterSpec() |
Level |
getLevel() |
int |
getMaxBackupIndex() |
long |
getRotateSize() |
Handler |
getValue() |
boolean |
isAppend() |
boolean |
isAutoflush() |
void |
setAppend(boolean append) |
void |
setAutoflush(boolean autoflush) |
void |
setEncoding(String encoding) |
void |
setFile(String path) |
void |
setFilter(Filter filter) |
void |
setFormatterSpec(FormatterSpec formatterSpec) |
void |
setLevel(Level level) |
void |
setMaxBackupIndex(int maxBackupIndex) |
void |
setRotateSize(long rotateSize) |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
org.jboss.msc.service.StartException
public void stop(org.jboss.msc.service.StopContext context)
public Handler getValue() throws IllegalStateException
IllegalStateException
public Level getLevel()
public void setLevel(Level level)
public FormatterSpec getFormatterSpec()
public void setFormatterSpec(FormatterSpec formatterSpec)
public void setFilter(Filter filter)
public boolean isAutoflush()
public void setAutoflush(boolean autoflush)
public String getEncoding()
public void setEncoding(String encoding) throws UnsupportedEncodingException
UnsupportedEncodingException
public boolean isAppend()
public void setAppend(boolean append)
public int getMaxBackupIndex()
public void setMaxBackupIndex(int maxBackupIndex)
public long getRotateSize()
public void setRotateSize(long rotateSize)
public void setFile(String path) throws FileNotFoundException
FileNotFoundException
public org.jboss.msc.inject.Injector<String> getFileNameInjector()
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.