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

Quick Search    Search Deep

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

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

private static class PersistentQueueTest._SEQUENCE
extends PersistentQueueTest.TestOperation


Field Summary
private  PersistentQueueTest.TestOperation op1
           
private  PersistentQueueTest.TestOperation op2
           
 
Constructor Summary
PersistentQueueTest._SEQUENCE(PersistentQueueTest.TestOperation op1, PersistentQueueTest.TestOperation op2)
           
 
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

op1

private PersistentQueueTest.TestOperation op1

op2

private PersistentQueueTest.TestOperation op2
Constructor Detail

PersistentQueueTest._SEQUENCE

public PersistentQueueTest._SEQUENCE(PersistentQueueTest.TestOperation op1,
                                     PersistentQueueTest.TestOperation op2)
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