Class MemoryContent.MutableNuller

  • All Implemented Interfaces:
    Closeable, AutoCloseable
    Enclosing class:
    MemoryContent

    protected static class MemoryContent.MutableNuller
    extends Object
    implements Closeable
    This class implements the cleanup (nulling the byte array) without referring to the RereadableContent it cleans up.
    • Constructor Detail

      • MutableNuller

        protected MutableNuller()
    • Method Detail

      • setMutable

        protected void setMutable​(org.apache.commons.lang3.mutable.Mutable<?> mutable)
        Sets the mutable since it is not created when creating this MutableNuller.
        Parameters:
        mutable - The mutable to set to null when closing.