springs.persistence
Class Persistence_NoPersistenceImpl

java.lang.Object
  |
  +--springs.persistence.Persistence
        |
        +--springs.persistence.Persistence_NoPersistenceImpl

public class Persistence_NoPersistenceImpl
extends Persistence

A naive implementation of Persistence that does not provide any persistence service.

Author:
Sergio Ilarri Artigas

Constructor Summary
Persistence_NoPersistenceImpl()
           
 
Method Summary
 void checkpoint(springs.agent.SpringsAgent agent)
          Checkpoints the agent.
 boolean isSuspended(springs.agent.SpringsAgent agent)
          Obtains if the agent is suspended.
 void suspend(springs.agent.SpringsAgent agent)
          Suspends the agent execution.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Persistence_NoPersistenceImpl

public Persistence_NoPersistenceImpl()
Method Detail

isSuspended

public boolean isSuspended(springs.agent.SpringsAgent agent)
Description copied from class: Persistence
Obtains if the agent is suspended.

Specified by:
isSuspended in class Persistence
Parameters:
agent - the agent.
Returns:
a boolean indicating whether the agent is suspended.
See Also:
SpringsAgent

suspend

public void suspend(springs.agent.SpringsAgent agent)
Description copied from class: Persistence
Suspends the agent execution.

Specified by:
suspend in class Persistence
Parameters:
agent - the agent.
See Also:
SpringsAgent

checkpoint

public void checkpoint(springs.agent.SpringsAgent agent)
Description copied from class: Persistence
Checkpoints the agent.

Specified by:
checkpoint in class Persistence
Parameters:
agent - the agent.
See Also:
SpringsAgent