public class DefaultAuditBulker extends Object implements AuditBulkerMBean, AuditBulker
Modifier and Type | Method and Description |
---|---|
boolean |
await(long time,
TimeUnit unit) |
int |
getBulkSize() |
int |
getBulkTimeout() |
void |
offer(LogEntry entry) |
void |
onApplicationStarted() |
void |
onShutdown() |
void |
resetMetrics() |
void |
setBulkSize(int value) |
void |
setBulkTimeout(int value) |
public void onApplicationStarted()
onApplicationStarted
in interface AuditBulker
public void onShutdown()
onShutdown
in interface AuditBulker
public void offer(LogEntry entry)
offer
in interface AuditBulker
public boolean await(long time, TimeUnit unit) throws InterruptedException
await
in interface AuditBulker
InterruptedException
public int getBulkTimeout()
getBulkTimeout
in interface AuditBulkerMBean
public void setBulkTimeout(int value)
setBulkTimeout
in interface AuditBulkerMBean
public int getBulkSize()
getBulkSize
in interface AuditBulkerMBean
public void setBulkSize(int value)
setBulkSize
in interface AuditBulkerMBean
public void resetMetrics()
resetMetrics
in interface AuditBulkerMBean
Copyright © 2016 Nuxeo SA. All rights reserved.