public final class RetrievalStopWatch extends Object
| Constructor and Description |
|---|
RetrievalStopWatch(SchemaInfoLevel infoLevel) |
| Modifier and Type | Method and Description |
|---|---|
void |
reset(String crawl) |
Supplier<String> |
stopAndLogTime()
Allows for a deferred conversion to a string.
|
void |
time(SchemaInfoRetrieval retrieval,
StopWatch.Function function,
SchemaInfoRetrieval... additionalRetrievals) |
void |
time(String retrievalName,
StopWatch.Function function,
SchemaInfoRetrieval... additionalRetrievals) |
public RetrievalStopWatch(SchemaInfoLevel infoLevel)
public void reset(String crawl)
public Supplier<String> stopAndLogTime()
public void time(SchemaInfoRetrieval retrieval, StopWatch.Function function, SchemaInfoRetrieval... additionalRetrievals) throws Exception
Exceptionpublic void time(String retrievalName, StopWatch.Function function, SchemaInfoRetrieval... additionalRetrievals) throws Exception
ExceptionCopyright © 2000-2021 Sualeh Fatehi. All rights reserved.