Class DeletingArchiver

  • All Implemented Interfaces:
    net.openhft.chronicle.queue.impl.StoreFileListener, BinLogArchiver

    public class DeletingArchiver
    extends java.lang.Object
    implements BinLogArchiver
    • Field Summary

      • Fields inherited from interface net.openhft.chronicle.queue.impl.StoreFileListener

        NO_OP
    • Constructor Summary

      Constructors 
      Constructor Description
      DeletingArchiver​(long maxLogSize)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onReleased​(int cycle, java.io.File file)
      Track store files as they are added and their storage impact.
      void stop()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface net.openhft.chronicle.queue.impl.StoreFileListener

        isActive, onAcquired
    • Constructor Detail

      • DeletingArchiver

        public DeletingArchiver​(long maxLogSize)
    • Method Detail

      • onReleased

        public void onReleased​(int cycle,
                               java.io.File file)
        Track store files as they are added and their storage impact. Delete them if over storage limit.
        Specified by:
        onReleased in interface BinLogArchiver
        Specified by:
        onReleased in interface net.openhft.chronicle.queue.impl.StoreFileListener
        Parameters:
        cycle -
        file -