public boolean isTriggeringEvent(final File activeFile, final E event) { if(invocationGate.skipFurtherWork()) return false; long now = System.currentTimeMillis(); invocationGate.updateMaskIfNecessary(now); return (activeFile.length() >= maxFileSize.getSize()); }
public boolean isTriggeringEvent(final File activeFile, final E event) { long now = System.currentTimeMillis(); if (invocationGate.isTooSoon(now)) { return false; } return (activeFile.length() >= maxFileSize.getSize()); }
public boolean isTriggeringEvent(final File activeFile, final E event) { long now = System.currentTimeMillis(); if (invocationGate.isTooSoon(now)) return false; return (activeFile.length() >= maxFileSize.getSize()); }
public boolean isTriggeringEvent(final File activeFile, final E event) { if(invocationGate.skipFurtherWork()) return false; long now = System.currentTimeMillis(); invocationGate.updateMaskIfNecessary(now); return (activeFile.length() >= maxFileSize.getSize()); }
public boolean isTriggeringEvent(final File activeFile, final E event) { long now = System.currentTimeMillis(); if (invocationGate.isTooSoon(now)) return false; return (activeFile.length() >= maxFileSize.getSize()); }
public boolean isTriggeringEvent(final File activeFile, final E event) { if(invocationGate.skipFurtherWork()) return false; long now = System.currentTimeMillis(); invocationGate.updateMaskIfNecessary(now); return (activeFile.length() >= maxFileSize.getSize()); }
public boolean isTriggeringEvent(final File activeFile, final E event) { long now = System.currentTimeMillis(); if (invocationGate.isTooSoon(now)) return false; return (activeFile.length() >= maxFileSize.getSize()); }
public boolean isTriggeringEvent(final File activeFile, final E event) { if(invocationGate.skipFurtherWork()) return false; long now = System.currentTimeMillis(); invocationGate.updateMaskIfNecessary(now); return (activeFile.length() >= maxFileSize.getSize()); }
if (invocationGate.isTooSoon(time)) { return false;
if (invocationGate.isTooSoon(time)) { return false;
if (invocationGate.isTooSoon(time)) { return false;
if (invocationGate.isTooSoon(time)) { return false;