Class AutoFlushingObjectWriter

    • Constructor Detail

      • AutoFlushingObjectWriter

        public AutoFlushingObjectWriter​(ObjectOutputStream objectOutputStream,
                                        int resetFrequency)
        Creates a new instance for the given ObjectOutputStream.
        Parameters:
        objectOutputStream - the stream to write to
        resetFrequency - the frequency with which the given stream will be automatically reset to prevent a memory leak