TIBCO Enterprise Message Service
Version 4.3.0

com.tibco.tibjms.admin
Class StoreInfo

java.lang.Object
  extended bycom.tibco.tibjms.admin.StoreInfo

public class StoreInfo
extends java.lang.Object

Class representing information about a server's store file.


Constructor Summary
StoreInfo(MapMessage msg, int store)
           
 
Method Summary
 long getFileSize()
          Get the total size of the store file.
 long getFreeSpace()
          Get the amount of space in the store file that is not in use.
 long getMsgBytes()
          Get the total size of the data messages stored in the store file.
 long getMsgCount()
          Get the number of data messages stored in the store file.
 long getSwappedBytes()
          Get the total size of the data messages stored in the store file as a result of swapping out non-persistent messages.
 long getSwappedCount()
          Get the number of data messages stored in the store file as a result of swapping out non-persistent messages.
 long getUsedSpace()
          Get the amount of space in the store file that is in use.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StoreInfo

public StoreInfo(MapMessage msg,
                 int store)
          throws JMSException
Method Detail

getMsgCount

public long getMsgCount()
Get the number of data messages stored in the store file.

Returns:
the number of messages

getMsgBytes

public long getMsgBytes()
Get the total size of the data messages stored in the store file.

Returns:
the size in bytes

getSwappedCount

public long getSwappedCount()
Get the number of data messages stored in the store file as a result of swapping out non-persistent messages. This only has meaning for the asynchronous store file.

Returns:
the number of messages

getSwappedBytes

public long getSwappedBytes()
Get the total size of the data messages stored in the store file as a result of swapping out non-persistent messages. This only has meaning for the asynchronous store file.

Returns:
the size in bytes

getFreeSpace

public long getFreeSpace()
Get the amount of space in the store file that is not in use.

Returns:
the number of bytes that are free

getUsedSpace

public long getUsedSpace()
Get the amount of space in the store file that is in use.

Returns:
the number of bytes that are in use

getFileSize

public long getFileSize()
Get the total size of the store file.

Returns:
the size in bytes

toString

public java.lang.String toString()

TIBCO Enterprise Message Service
Version 4.3.0

Copyright © TIBCO Software Inc. All rights reserved