b : bytes k : kilobytes kb : kilobytes m : megabytes mb : megabytes g : gigabytes
101102103104105106107
private Alarm _alarm = new WeakAlarm(this); private boolean _isActive; public AccessLog() { setRolloverSize(new Bytes(ROLLOVER_SIZE)); }
949596979899100
189190191192193194195
/** * Sets the log rollover size in bytes. */ public void setRolloverSize(long size) { _rolloverLog.setRolloverSize(new Bytes(size)); }
117118119120121122123
/** * Sets the rollover size. */ public void setRolloverSizeBytes(long size) { _rolloverSize = new Bytes(size); }