@Deprecated public interface LogEventBuffer
Modifier and Type | Method and Description |
---|---|
boolean |
add(LogEvent event)
Deprecated.
Adds the given log event to this buffer.
|
void |
clear()
Deprecated.
Clears this buffer.
|
LogEvent |
get()
Deprecated.
Returns the least recently inserted element in this buffer.
|
LogEvent.Level |
getLevel()
Deprecated.
Returns log level
|
String |
getLevelName()
Deprecated.
Returns log level name
|
boolean |
isEmpty()
Deprecated.
Returns true if this buffer is empty; false otherwise.
|
boolean |
isFull()
Deprecated.
Returns true if this collection is full and no new elements can be added.
|
Iterator<LogEvent> |
iterator()
Deprecated.
Returns an iterator over this buffer's elements.
|
int |
maxSize()
Deprecated.
Gets the maximum size of the collection (the bound).
|
LogEvent |
remove()
Deprecated.
Removes the least recently inserted element from this buffer.
|
void |
setLevel(LogEvent.Level level)
Deprecated.
Sets log level to store.
|
void |
setLevelByName(String levelName)
Deprecated.
Sets log level by its name to store.
|
int |
size()
Deprecated.
Returns the number of elements stored in the buffer.
|
boolean add(LogEvent event)
event
- void clear()
LogEvent get()
boolean isEmpty()
boolean isFull()
Iterator<LogEvent> iterator()
int maxSize()
LogEvent remove()
int size()
void setLevel(LogEvent.Level level)
level
- void setLevelByName(String levelName)
level
- LogEvent.Level getLevel()
String getLevelName()
Copyright © 2008-2013 Hippo B.V. (http://www.onehippo.com). All Rights Reserved.