etm.core.aggregation.persistence
Class FileSystemPersistenceBackend

java.lang.Object
  extended by etm.core.aggregation.persistence.FileSystemPersistenceBackend
All Implemented Interfaces:
PersistenceBackend

public class FileSystemPersistenceBackend
extends java.lang.Object
implements PersistenceBackend

A file based persistence store that uses Java Serialization. By default serialized results will be stored at {java.io.tmpdir}/jetm-state.ser.

Since:
1.2.0
Version:
$Revision:96 $
Author:
void.fm

Constructor Summary
FileSystemPersistenceBackend()
           
 
Method Summary
 PersistentEtmState load()
           
 void setFilename(java.lang.String aFilename)
           
 void setPath(java.lang.String aPath)
           
 void store(PersistentEtmState state)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileSystemPersistenceBackend

public FileSystemPersistenceBackend()
Method Detail

setPath

public void setPath(java.lang.String aPath)

setFilename

public void setFilename(java.lang.String aFilename)

load

public PersistentEtmState load()
Specified by:
load in interface PersistenceBackend

store

public void store(PersistentEtmState state)
Specified by:
store in interface PersistenceBackend


Copyright © 2004,2005, 2006, 2007 void.fm. All Rights Reserved.