Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.presumo.jms.persistence
Class PersistentQueueTest._SET_MAX_LOG_FILE_SIZE  view PersistentQueueTest._SET_MAX_LOG_FILE_SIZE download PersistentQueueTest._SET_MAX_LOG_FILE_SIZE.java

java.lang.Object
  extended bycom.presumo.jms.persistence.PersistentQueueTest.TestOperation
      extended bycom.presumo.jms.persistence.PersistentQueueTest._SET_MAX_LOG_FILE_SIZE
Enclosing class:
PersistentQueueTest

private static class PersistentQueueTest._SET_MAX_LOG_FILE_SIZE
extends PersistentQueueTest.TestOperation


Field Summary
private  int size
           
 
Constructor Summary
PersistentQueueTest._SET_MAX_LOG_FILE_SIZE(int size)
           
 
Method Summary
protected  void basicSanityCheck(PersistentQueueTest.TestState state)
           
protected  void copyFile(java.io.File src, java.io.File dst)
           
protected  void copyFile(java.io.File src, java.io.File dst, int size)
           
protected  com.presumo.jms.message.JmsMessage createMessage(int id, boolean persistent)
           
protected  java.lang.String createRandomString()
           
protected  java.lang.String createRandomString(int maxsize)
           
protected  java.io.File getFile(PersistentQueueTest.TestState state, int file_type)
           
 void operate(PersistentQueueTest.TestState state)
           
protected  void removeNonPersistent(PersistentQueueTest.TestState st)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

size

private int size
Constructor Detail

PersistentQueueTest._SET_MAX_LOG_FILE_SIZE

public PersistentQueueTest._SET_MAX_LOG_FILE_SIZE(int size)
Method Detail

operate

public void operate(PersistentQueueTest.TestState state)
             throws java.lang.Exception
Specified by:
operate in class PersistentQueueTest.TestOperation

removeNonPersistent

protected void removeNonPersistent(PersistentQueueTest.TestState st)

getFile

protected java.io.File getFile(PersistentQueueTest.TestState state,
                               int file_type)

copyFile

protected void copyFile(java.io.File src,
                        java.io.File dst)
                 throws java.lang.Exception

copyFile

protected void copyFile(java.io.File src,
                        java.io.File dst,
                        int size)
                 throws java.lang.Exception

basicSanityCheck

protected void basicSanityCheck(PersistentQueueTest.TestState state)
                         throws java.lang.Exception

createRandomString

protected java.lang.String createRandomString()

createRandomString

protected java.lang.String createRandomString(int maxsize)

createMessage

protected com.presumo.jms.message.JmsMessage createMessage(int id,
                                                           boolean persistent)
                                                    throws java.lang.Exception