Class AbstractDestinationDescriptor

    • Field Detail

      • initialBlockCount

        protected int initialBlockCount
      • maxBlockCount

        protected int maxBlockCount
      • autoExtendAmount

        protected int autoExtendAmount
      • blockSize

        protected int blockSize
      • rawDataFolder

        protected String rawDataFolder
      • dataFolder

        protected File dataFolder
      • maxNonPersistentMessages

        protected int maxNonPersistentMessages
      • useJournal

        protected boolean useJournal
      • rawJournalFolder

        protected String rawJournalFolder
      • journalFolder

        protected File journalFolder
      • maxJournalSize

        protected long maxJournalSize
      • maxWriteBatchSize

        protected int maxWriteBatchSize
      • maxUnflushedJournalSize

        protected int maxUnflushedJournalSize
      • maxUncommittedStoreSize

        protected int maxUncommittedStoreSize
      • journalOutputBuffer

        protected int journalOutputBuffer
      • temporary

        protected boolean temporary
      • storageSyncMethod

        protected int storageSyncMethod
      • preAllocateFiles

        protected boolean preAllocateFiles
      • overflowToPersistent

        protected boolean overflowToPersistent
    • Constructor Detail

      • AbstractDestinationDescriptor

        public AbstractDestinationDescriptor()
        Constructor
      • AbstractDestinationDescriptor

        public AbstractDestinationDescriptor​(Settings settings)
        Constructor
    • Method Detail

      • asSettings

        public final Settings asSettings()
        Serialize the definition to settings
      • fillSettings

        protected void fillSettings​(Settings settings)
        Append nodes to the XML definition
      • getDataFolder

        public File getDataFolder()
      • setInitialBlockCount

        public void setInitialBlockCount​(int initialBlockCount)
        Parameters:
        initialBlockCount - the initial blockCount to set
      • setMaxBlockCount

        public void setMaxBlockCount​(int maxBlockCount)
        Parameters:
        maxBlockCount - the maxBlockCount to set
      • setAutoExtendAmount

        public void setAutoExtendAmount​(int autoExtendAmount)
        Parameters:
        autoExtendAmount - the autoExtendAmount to set
      • setBlockSize

        public void setBlockSize​(int blockSize)
        Parameters:
        blockSize - the blockSize to set
      • getRawDataFolder

        public String getRawDataFolder()
        Returns:
        the rawDataFolder
      • setRawDataFolder

        public void setRawDataFolder​(String rawDataFolder)
        Parameters:
        rawDataFolder - the rawDataFolder to set
      • setDataFolder

        public void setDataFolder​(File dataFolder)
        Parameters:
        dataFolder - the dataFolder to set
      • setUseJournal

        public void setUseJournal​(boolean useJournal)
        Parameters:
        useJournal - the useJournal to set
      • setName

        public void setName​(String name)
        Parameters:
        name - the name to set
      • setMaxNonPersistentMessages

        public void setMaxNonPersistentMessages​(int maxNonPersistentMessages)
        Parameters:
        maxNonPersistentMessages - the maxNonPersistentMessages to set
      • setTemporary

        public void setTemporary​(boolean temporary)
        Parameters:
        temporary - the temporary to set
      • getRawJournalFolder

        public String getRawJournalFolder()
        Returns:
        the rawJournalFolder
      • setRawJournalFolder

        public void setRawJournalFolder​(String rawJournalFolder)
        Parameters:
        rawJournalFolder - the rawJournalFolder to set
      • getJournalFolder

        public File getJournalFolder()
        Returns:
        the journalFolder
      • setJournalFolder

        public void setJournalFolder​(File journalFolder)
        Parameters:
        journalFolder - the journalFolder to set
      • setMaxJournalSize

        public void setMaxJournalSize​(long maxJournalSize)
        Parameters:
        maxJournalSize - the maxJournalSize to set
      • setMaxWriteBatchSize

        public void setMaxWriteBatchSize​(int maxWriteBatchSize)
        Parameters:
        maxWriteBatchSize - the maxWriteBatchSize to set
      • setMaxUnflushedJournalSize

        public void setMaxUnflushedJournalSize​(int maxUnflushedJournalSize)
        Parameters:
        maxUnflushedJournalSize - the maxUnflushedJournalSize to set
      • setMaxUncommittedStoreSize

        public void setMaxUncommittedStoreSize​(int maxUncommittedStoreSize)
        Parameters:
        maxUncommittedStoreSize - the maxUncommittedStoreSize to set
      • setJournalOutputBuffer

        public void setJournalOutputBuffer​(int journalOutputBuffer)
        Parameters:
        journalOutputBuffer - the journalOutputBuffer to set
      • setStorageSyncMethod

        public void setStorageSyncMethod​(int storageSyncMethod)
        Parameters:
        storageSyncMethod - the syncMethod to set
      • setPreAllocateFiles

        public void setPreAllocateFiles​(boolean preAllocateFiles)
        Parameters:
        preAllocateFiles - the preAllocateFiles to set
      • isOverflowToPersistent

        public boolean isOverflowToPersistent()
        Returns:
        the overflowToPersistent
      • setOverflowToPersistent

        public void setOverflowToPersistent​(boolean overflowToPersistent)
        Parameters:
        overflowToPersistent - the overflowToPersistent to set
      • check

        public void check()
                   throws javax.jms.JMSException
        Description copied from interface: Checkable
        Check the object consistency
        Specified by:
        check in interface Checkable
        Throws:
        javax.jms.JMSException
      • hasPersistentStore

        public boolean hasPersistentStore()