Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.sandesha2.storage.inmemory
Class InMemoryTransaction

    java.lang.Object
      org.apache.sandesha2.storage.inmemory.InMemoryTransaction

All Implemented Interfaces:
  Transaction

public class InMemoryTransaction
extends java.lang.Object
implements Transaction

This class does not really implement transactions, but it is a good place to implement locking for the in memory storage manager.

Method Summary
`void` | `commit()`
`void` | `enlist(RMBean bean)`
`boolean` | `isActive()`
`void` | `rollback()`
`void` | `setReceivedMessages(boolean receivedMessages)`
`void` | `setSentMessages(boolean sentMessages)`
`java.lang.String` | `toString()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Method Detail

### commit

    public void commit()

  Specified by:
    `commit` in interface `Transaction`

### rollback

    public void rollback()

  Specified by:
    `rollback` in interface `Transaction`

### isActive

    public boolean isActive()

  Specified by:
    `isActive` in interface `Transaction`

### enlist

    public void enlist(RMBean bean)
                throws SandeshaStorageException

  Throws:
    `SandeshaStorageException`

### toString

    public java.lang.String toString()

### setReceivedMessages

    public void setReceivedMessages(boolean receivedMessages)

### setSentMessages

    public void setSentMessages(boolean sentMessages)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2007 Apache Web Services Project. All Rights Reserved.