public interface TraceService
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears the entire store trace.
|
long |
getBookmark()
Returns the current bookmark value.
|
Trace |
getTrace(long bookmark)
Returns the trace descriptor with message events recorded since the
specified bookmark.
|
Trace |
getTraceOrWait(long bookmark,
long maxWaitMillis)
Returns the trace descriptor with the message events recorded since the
specified bookmark.
|
boolean |
recording()
Returns the current recording status of the OpenFlow controller.
|
boolean |
start()
Starts trace recording for the default time period.
|
boolean |
start(int seconds)
Starts recording for the specified number of seconds.
|
void |
stop()
Stops recording immediately.
|
boolean recording()
true if recording is active, false otherwiselong getBookmark()
boolean start()
true if recording is successfully started,
false otherwiseboolean start(int seconds)
seconds - duration of recording in secondstrue if recording is successfully started,
false otherwisevoid stop()
void clear()
Trace getTrace(long bookmark)
bookmark - identification bookmarkTrace getTraceOrWait(long bookmark, long maxWaitMillis)
bookmark - identification bookmarkmaxWaitMillis - the maximum time in milliseconds to wait for the
arrival of a new message eventCopyright © 2014. All Rights Reserved.