public interface IProfile
| Modifier and Type | Method and Description |
|---|---|
void |
add(String name,
long duration) |
Map<String,ProfileBuckets<Integer>> |
getCounts() |
Map<String,ProfileBuckets<Long>> |
getMs() |
Map<String,Long> |
getTotalAvg() |
Map<String,Integer> |
getTotalCounts() |
static IProfile |
makeProfileMap() |
<T> T |
profile(String name,
Supplier<T> fn) |
<T,E extends Exception> |
profileE(String name,
SupplierWithExceptionE<T,E> fn) |
static IProfile makeProfileMap()
<T,E extends Exception> T profileE(String name, SupplierWithExceptionE<T,E> fn) throws E extends Exception
E extends Exceptionvoid add(String name, long duration)
Map<String,ProfileBuckets<Long>> getMs()
Map<String,ProfileBuckets<Integer>> getCounts()
Copyright © 2023. All rights reserved.