org.semispace.admin
Class JunitSpace

java.lang.Object
  extended by org.semispace.admin.JunitSpace
All Implemented Interfaces:
SemiSpaceInterface

public class JunitSpace
extends Object
implements SemiSpaceInterface


Constructor Summary
JunitSpace()
           
 
Method Summary
 SemiEventRegistration notify(Object tmpl, SemiEventListener listener, long duration)
           
 Object read(Object obj, long duration)
           
 Object readIfExists(Object obj)
           
 Object take(Object obj, long duration)
           
 Object takeIfExists(Object obj)
           
 SemiLease write(Object obj, long duration)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JunitSpace

public JunitSpace()
Method Detail

notify

public SemiEventRegistration notify(Object tmpl,
                                    SemiEventListener listener,
                                    long duration)
Specified by:
notify in interface SemiSpaceInterface

read

public Object read(Object obj,
                   long duration)
Specified by:
read in interface SemiSpaceInterface

readIfExists

public Object readIfExists(Object obj)
Specified by:
readIfExists in interface SemiSpaceInterface

take

public Object take(Object obj,
                   long duration)
Specified by:
take in interface SemiSpaceInterface

takeIfExists

public Object takeIfExists(Object obj)
Specified by:
takeIfExists in interface SemiSpaceInterface

write

public SemiLease write(Object obj,
                       long duration)
Specified by:
write in interface SemiSpaceInterface


Copyright © 2008-2012. All Rights Reserved.