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.workers
Class WorkerLock

    java.lang.Object
      org.apache.sandesha2.workers.WorkerLock

    public class WorkerLock

extends java.lang.Object

Constructor Summary
`WorkerLock()`

Method Summary
`boolean` | `addWork(java.lang.String work, java.lang.Object owner)`
`void` | `awaitRemoval(java.lang.String work)`
`boolean` | `isWorkPresent(java.lang.String work)`
`boolean` | `ownsLock(java.lang.String work, java.lang.Object owner)`
`void` | `removeWork(java.lang.String work)`

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

Constructor Detail

### WorkerLock

    public WorkerLock()

Method Detail

### addWork

    public boolean addWork(java.lang.String work,
                           java.lang.Object owner)

### awaitRemoval

    public void awaitRemoval(java.lang.String work)
                      throws java.lang.InterruptedException

  Throws:
    `java.lang.InterruptedException`

### removeWork

    public void removeWork(java.lang.String work)

### isWorkPresent

    public boolean isWorkPresent(java.lang.String work)

### ownsLock

    public boolean ownsLock(java.lang.String work,
                            java.lang.Object owner)

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.