org.codehaus.wadi.gridstate
Interface StateManager

All Known Implementing Classes:
IndirectStateManager

public interface StateManager


Method Summary
 Object get(Object key)
           
 void init(StateManagerConfig config)
           
 Object put(Object key, Object value, boolean overwrite, boolean returnOldValue)
           
 Object remove(Object key, boolean returnOldValue)
           
 void start()
           
 void stop()
           
 Object syncRpc(Destination destination, Object message)
           
 

Method Detail

init

public void init(StateManagerConfig config)

get

public Object get(Object key)

put

public Object put(Object key,
                  Object value,
                  boolean overwrite,
                  boolean returnOldValue)

remove

public Object remove(Object key,
                     boolean returnOldValue)

start

public void start()
           throws Exception
Throws:
Exception

stop

public void stop()
          throws Exception
Throws:
Exception

syncRpc

public Object syncRpc(Destination destination,
                      Object message)
               throws Exception
Throws:
Exception


Copyright © 2004-2008 Core Developers Network Ltd.. All Rights Reserved.