| Modifier and Type | Field and Description |
|---|---|
| public long | |
| public String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| public static boolean | |
| public static void | |
| public static boolean | |
| public static long |
| bytesWritten | back to summary |
|---|---|
| public long bytesWritten | |
| path | back to summary |
|---|---|
| public String path | |
| FileWriteEvent | back to summary |
|---|---|
| public FileWriteEvent() | |
| commit | back to summary |
|---|---|
| public static void commit(long start, long duration, String path, long bytesWritten) | |
| enabled | back to summary |
|---|---|
| public static boolean enabled() | |
| offer | back to summary |
|---|---|
| public static void offer(long start, String path, long bytesWritten) Helper method to offer the data needed to potentially commit an event.
The duration of the operation is computed using the current
timestamp and the given start time. If the duration meets
or exceeds the configured value and is not throttled (determined by calling the
generated method
| |
| shouldThrottleCommit | back to summary |
|---|---|
| public static boolean shouldThrottleCommit(long duration, long end) | |
| timestamp | back to summary |
|---|---|
| public static long timestamp() | |