Class AlwaysPresentFilter

  • All Implemented Interfaces:
    java.lang.AutoCloseable, SharedCloseable, IFilter

    public class AlwaysPresentFilter
    extends java.lang.Object
    implements IFilter
    • Constructor Detail

      • AlwaysPresentFilter

        public AlwaysPresentFilter()
    • Method Detail

      • clear

        public void clear()
        Specified by:
        clear in interface IFilter
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface IFilter
      • sharedCopy

        public IFilter sharedCopy()
        Specified by:
        sharedCopy in interface IFilter
        Specified by:
        sharedCopy in interface SharedCloseable
        Returns:
        a new instance of the object representing the same state and backed by the same underlying resources. Coordinates with the original (and other instances) when the underlying resource should be closed. Throws an exception if the shared resource has already been closed.
      • close

        public java.lang.Throwable close​(java.lang.Throwable accumulate)
        Specified by:
        close in interface SharedCloseable
      • offHeapSize

        public long offHeapSize()
        Description copied from interface: IFilter
        Returns the amount of memory in bytes used off heap.
        Specified by:
        offHeapSize in interface IFilter
        Returns:
        the amount of memory in bytes used off heap