|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DataBlockUtilLog
An interface for any log object used by the DataBlockUtil.
| Method Summary | |
|---|---|
void |
close()
Close off resources associated with this log. |
long |
getBlockGetFailures()
Uses the default log. |
long |
getBlockGetSuccesses()
Uses the default log. |
long |
getBlockSetFailures()
Uses the default log. |
long |
getBlockSetSuccesses()
Uses the default log. |
long |
getRuntime()
Uses the default log. |
long |
getTimeSpentMerging()
Uses the default log. |
void |
logGetBlockFailed(BigHash hash)
Log failed get request. |
void |
logGetBlockSucceed(BigHash hash)
Log successful get request. |
void |
logGetStarted(BigHash hash)
Log start of a get request. |
void |
logHasFalse(BigHash hash)
Log does not have a chunk. |
void |
logHasStarted(BigHash hash)
Log the start of a has chunk activity. |
void |
logHasTrue(BigHash hash)
Log has a chunk. |
void |
logMergeFinish(java.io.File datablock)
Log stop of merge. |
void |
logMergeStart(java.io.File datablock)
Log start of merge. |
void |
logSetBlockFailed(BigHash hash)
Log failed set request. |
void |
logSetBlockSucceed(BigHash hash)
Log successful set request. |
void |
logSetStarted(BigHash hash)
Log start of a set request. |
java.lang.String |
toString()
|
| Method Detail |
|---|
void logMergeStart(java.io.File datablock)
Log start of merge.
datablock - void logMergeFinish(java.io.File datablock)
Log stop of merge.
datablock - void logHasStarted(BigHash hash)
Log the start of a has chunk activity.
hash - void logHasTrue(BigHash hash)
Log has a chunk.
hash - void logHasFalse(BigHash hash)
Log does not have a chunk.
hash - void logGetStarted(BigHash hash)
Log start of a get request.
hash - void logSetStarted(BigHash hash)
Log start of a set request.
hash - void logGetBlockSucceed(BigHash hash)
Log successful get request.
hash - void logGetBlockFailed(BigHash hash)
Log failed get request.
hash - void logSetBlockSucceed(BigHash hash)
Log successful set request.
hash - void logSetBlockFailed(BigHash hash)
Log failed set request.
hash - long getTimeSpentMerging()
Uses the default log. For more information, call logs directly.
long getRuntime()
Uses the default log. For more information, call logs directly.
java.lang.String toString()
toString in class java.lang.Objectlong getBlockGetSuccesses()
Uses the default log. For more information, call logs directly.
long getBlockGetFailures()
Uses the default log. For more information, call logs directly.
long getBlockSetSuccesses()
Uses the default log. For more information, call logs directly.
long getBlockSetFailures()
Uses the default log. For more information, call logs directly.
void close()
throws java.lang.Exception
Close off resources associated with this log.
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||