Skip navigation links
TIBCO Enterprise Message Service
com.tibco.tibjms.admin

Class MStoreInfo



  • public class MStoreInfo
    extends StoreInfo
    Class representing information about a server's mstore-based store.
    • Method Detail

      • isTimeBoundCompactAvailable

        public boolean isTimeBoundCompactAvailable()
        Indicates whether or not this mstore can be compacted in a time-bound manner or through the mstore_truncate property.
        Returns:
        true if time-bound compact is available for this mstore, false otherwise
        Since:
        EMS 8.3
      • getNotInUseSpace

        public long getNotInUseSpace()
        Get the amount of space in the store file that is not in use.
        Returns:
        the number of bytes that are free
      • getInUseSpace

        public long getInUseSpace()
        Get the amount of space in the store file that is in use.
        Returns:
        the number of bytes that are in use
      • getSize

        public long getSize()
        Get the total size of the store file.
        Returns:
        the size in bytes
      • getFileName

        public java.lang.String getFileName()
        Get the file name.
        Returns:
        file name
      • isTruncationEnabled

        public boolean isTruncationEnabled()
        Indicates whether or not the server will periodically check if there is unused space at the end of the file and, if so, truncate the file.
        Returns:
        true if truncation is enabled, false otherwise
        Since:
        EMS 8.3
      • isSynchronousWriteEnabled

        public boolean isSynchronousWriteEnabled()
        Indicates whether or not the file is opened in synchronous write mode.
        Returns:
        true if synchronous mode is enabled, false otherwise
      • getDiscardScanInterval

        public long getDiscardScanInterval()
        Get the interval for discard scan.
        Returns:
        period in milliseconds.
      • getDiscardScanBytes

        public long getDiscardScanBytes()
        Get the number of bytes examined at each discard scan interval.
        Returns:
        the amount in bytes
      • getWriteRate

        public long getWriteRate()
        Get the number of bytes written per second.
        Returns:
        the byte rate.
        Since:
        EMS 6.1
      • isFirstScanFinished

        public boolean isFirstScanFinished()
        Determine if the first scan is finished.
        Returns:
        true or false
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • from

        public static MStoreInfo from(javax.management.openmbean.CompositeData cd)
                               throws java.lang.Exception
        For Internal use only, may be removed or deprecated in future.
        Returns:
        a MStoreInfo object from CompositeData
        Throws:
        java.lang.IllegalArgumentException - if CompositeType does not match or if a null CompositeData is passed.
        java.lang.Exception
TIBCO Enterprise Message Service

Copyright © Cloud Software Group, Inc. All rights reserved