java.lang.Object
com.presumo.jms.persistence.PersistentQueueTest.TestOperation
com.presumo.jms.persistence.PersistentQueueTest.ReversibleTestOperation
com.presumo.jms.persistence.PersistentQueueTest._PUSH
- Enclosing class:
- PersistentQueueTest
- private static class PersistentQueueTest._PUSH
- extends PersistentQueueTest.ReversibleTestOperation
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
num_persistent
private int num_persistent
num_non_persistent
private int num_non_persistent
PersistentQueueTest._PUSH
public PersistentQueueTest._PUSH(int num_per,
int num_non)
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)
- 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