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

Quick Search    Search Deep

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

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

private static class PersistentQueueTest._GET_NEXT
extends PersistentQueueTest.ReversibleTestOperation


Field Summary
private  int num_to_get
           
 
Constructor Summary
PersistentQueueTest._GET_NEXT(int num_to_get)
           
 
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)
           
 void undo(PersistentQueueTest.TestState state)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

num_to_get

private int num_to_get
Constructor Detail

PersistentQueueTest._GET_NEXT

public PersistentQueueTest._GET_NEXT(int num_to_get)
Method Detail

operate

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

undo

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

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