Interface BrokerFileLogger<X extends BrokerFileLogger<X>>
-
- All Superinterfaces:
BrokerLogger<X>,ConfiguredObject<X>,ContextProvider,PermissionedObject,TaskExecutorProvider
- All Known Implementing Classes:
BrokerFileLoggerImpl
public interface BrokerFileLogger<X extends BrokerFileLogger<X>> extends BrokerLogger<X>
-
-
Field Summary
Fields Modifier and Type Field Description static StringBROKER_FAIL_ON_LOGGER_IO_ERRORstatic StringDEFAULT_BROKER_FAIL_ON_LOGGER_IO_ERRORstatic StringFILE_NAMEstatic StringMAX_FILE_SIZEstatic StringTYPE-
Fields inherited from interface org.apache.qpid.server.model.ConfiguredObject
AWAIT_ATTAINMENT_TIMEOUT, CONTEXT, CREATED_BY, CREATED_TIME, DEFAULT_AWAIT_ATTAINMENT_TIMEOUT, DESCRIPTION, DESIRED_STATE, DURABLE, ID, LAST_UPDATED_BY, LAST_UPDATED_TIME, LIFETIME_POLICY, NAME, OVER_SIZED_ATTRIBUTE_ALTERNATIVE_TEXT, STATE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContentgetAllFiles()ContentgetFile(String fileName)StringgetFileName()ContentgetFiles(Set<String> fileName)StringgetLayout()List<LogFileDetails>getLogFiles()intgetMaxFileSize()intgetMaxHistory()booleanisCompressOldFiles()booleanisRollDaily()booleanisRollOnRestart()-
Methods inherited from interface org.apache.qpid.server.model.BrokerLogger
getErrorCount, getWarnCount, isVirtualHostLogEventExcluded, resetStatistics, stopLogging
-
Methods inherited from interface org.apache.qpid.server.model.ConfiguredObject
addChangeListener, asObjectRecord, authorise, authorise, authorise, close, closeAsync, createChild, createChildAsync, decryptSecrets, delete, deleteAsync, findConfiguredObject, getActualAttributes, getAttainedChildById, getAttainedChildByName, getAttribute, getAttributeNames, getCategoryClass, getChildById, getChildByName, getChildExecutor, getChildren, getContext, getCreatedBy, getCreatedTime, getDescription, getDesiredState, getId, getLastOpenedTime, getLastUpdatedBy, getLastUpdatedTime, getLifetimePolicy, getModel, getName, getObjectFactory, getParent, getState, getStatistics, getStatistics, getType, getTypeClass, getUserPreferences, hasEncrypter, isDurable, managesChildStorage, newToken, open, openAsync, removeChangeListener, removeContextVariable, setAttributes, setAttributesAsync, setContextVariable, setUserPreferences
-
Methods inherited from interface org.apache.qpid.server.model.ContextProvider
getContextKeys, getContextValue, getContextValue
-
Methods inherited from interface org.apache.qpid.server.model.TaskExecutorProvider
getTaskExecutor
-
-
-
-
Field Detail
-
TYPE
static final String TYPE
- See Also:
- Constant Field Values
-
FILE_NAME
static final String FILE_NAME
- See Also:
- Constant Field Values
-
MAX_FILE_SIZE
static final String MAX_FILE_SIZE
- See Also:
- Constant Field Values
-
BROKER_FAIL_ON_LOGGER_IO_ERROR
static final String BROKER_FAIL_ON_LOGGER_IO_ERROR
- See Also:
- Constant Field Values
-
DEFAULT_BROKER_FAIL_ON_LOGGER_IO_ERROR
static final String DEFAULT_BROKER_FAIL_ON_LOGGER_IO_ERROR
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFileName
String getFileName()
-
isRollDaily
boolean isRollDaily()
-
isRollOnRestart
boolean isRollOnRestart()
-
isCompressOldFiles
boolean isCompressOldFiles()
-
getMaxHistory
int getMaxHistory()
-
getMaxFileSize
int getMaxFileSize()
-
getLayout
String getLayout()
-
getLogFiles
List<LogFileDetails> getLogFiles()
-
getAllFiles
Content getAllFiles()
-
-