Package com.gpudb

Class BulkInserter.FlushOptions

    • Constructor Detail

      • FlushOptions

        public FlushOptions()
        Default constructor
      • FlushOptions

        public FlushOptions​(boolean flushWhenFull,
                            int flushInterval)
        Constructor with all members
        Parameters:
        flushWhenFull - - boolean value indicating whether to flush only full queues
        flushInterval - - the time interval in seconds to execute flush
    • Method Detail

      • isFlushWhenFull

        public boolean isFlushWhenFull()
      • setFlushWhenFull

        public void setFlushWhenFull​(boolean flushWhenFull)
        Sets the flag to set whether to flush when queues are full or not
        Parameters:
        flushWhenFull - - boolean value to indicate whether to flush only full queues
      • getFlushInterval

        public int getFlushInterval()
      • setFlushInterval

        public void setFlushInterval​(int flushInterval)
        Sets the flush interval
        Parameters:
        flushInterval - - time in seconds
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object