org.codehaus.wadi.core
Interface ConcurrentMotableMap

All Known Implementing Classes:
OswegoConcurrentMotableMap

public interface ConcurrentMotableMap

Version:
$Revision: 1538 $

Method Summary
 Motable acquire(java.lang.String id)
           
 Motable acquireExclusive(java.lang.String id, long exclusiveSessionLockWaitTime)
           
 java.util.Set getNames()
           
 boolean isEmpty()
           
 void put(java.lang.String name, Motable motable)
           
 void release(Motable motable)
           
 void releaseExclusive(Motable motable)
           
 void remove(java.lang.String name)
           
 int size()
           
 

Method Detail

put

void put(java.lang.String name,
         Motable motable)

remove

void remove(java.lang.String name)

acquire

Motable acquire(java.lang.String id)

acquireExclusive

Motable acquireExclusive(java.lang.String id,
                         long exclusiveSessionLockWaitTime)
                         throws MotableBusyException
Throws:
MotableBusyException

release

void release(Motable motable)

releaseExclusive

void releaseExclusive(Motable motable)

size

int size()

isEmpty

boolean isEmpty()

getNames

java.util.Set getNames()


Copyright © 2010. All Rights Reserved.