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

Class FileStoreInfo



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

      • getDestinationDefrag

        public long getDestinationDefrag()
        Get the maximum batch size for destination defragmentation of queues in this store.
        Returns:
        the maximum batch size for destination defrag.
        Since:
        EMS 6.1
      • 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
      • getFragmentation

        public int getFragmentation()
        Get the percentage fragmentation of the store file.
        Returns:
        the percentage (0 - 100) (-1 indicates not available)
        Since:
        EMS 6.0
      • getFileName

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

        public long getFileMinimum()
        Get the minimum size of the file (the file will pre-allocated at least to that size, if necessary).
        Returns:
        the size in bytes
      • getWriteRate

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

        public int getSyncProgress()
        Get the current progress of the synchronization of this store file when the server is running in the EMS Appliance.
        Returns:
        the synchronization progress percentage as an integer between 0 and 100 or -1 either if no synchronization is ongoing or if requested from a server that is running outside the EMS Appliance
        Since:
        EMS 8.1.0
        See Also:
        State.SERVER_COMPSTATE_SYNCHRONIZING
      • isCRCEnabled

        public boolean isCRCEnabled()
        Indicates whether or not CRC checks are performed for stored data.
        Returns:
        true if CRC is enabled, false otherwise
      • 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
      • 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
      • toString

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

        public static FileStoreInfo from(javax.management.openmbean.CompositeData cd)
                                  throws java.lang.Exception
        For Internal use only, may be removed or deprecated in future.
        Returns:
        a FileStoreInfo 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