public class AsyncRequestLog extends AbstractLifeCycle implements RequestLog, Consumer<org.neo4j.logging.async.AsyncLogEvent>, org.neo4j.concurrent.AsyncEvents.Monitor
AbstractLifeCycle.AbstractLifeCycleListenerLifeCycle.Listener| Constructor and Description |
|---|
AsyncRequestLog(org.neo4j.io.fs.FileSystemAbstraction fs,
String logFile,
long rotationSize,
int rotationKeepNumber) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(org.neo4j.logging.async.AsyncLogEvent event) |
void |
eventCount(long count) |
void |
log(Request request,
Response response) |
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stopequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stoppublic AsyncRequestLog(org.neo4j.io.fs.FileSystemAbstraction fs,
String logFile,
long rotationSize,
int rotationKeepNumber)
throws IOException
IOExceptionpublic void log(Request request, Response response)
log in interface RequestLogpublic void accept(org.neo4j.logging.async.AsyncLogEvent event)
public void eventCount(long count)
eventCount in interface org.neo4j.concurrent.AsyncEvents.MonitorCopyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.