org.objectweb.perseus.fos.api
Interface FosManager
- FosAttributeControler, FosLoggerFactory
- FosTxContextFactory
public interface FosManager
Defines the means to manipulate FOS transaction and the FOS repository.
- S. Chassande-Barrioz, P. D?chamboux
SPECVERSION
public static final String SPECVERSION
createTxContext
public FosTransaction createTxContext()
throws FosException
Creates a new FosTransaction for managing transactional I/Os with Data
Object Files.
getXidForRecovery
public Xid[] getXidForRecovery()
Gets all the Xid of distributed transaction that need to be recovered
by a DTP monitor. This method can only be called once (recoverable XID
are lost upon new calls).
- The array of Xid of transactions that need to be recovered.
initialize
public void initialize()
throws FosException
Initializes the root directory for storing files representing data
objects. It removes all existing data files and creates all data for
managing transactions. It must be performed before starting the FOS.
releaseTxContext
public void releaseTxContext(FosTransaction txc)
throws FosException
Releases a FosTransaction. Useful if adding a transaction pool.
txc
- The FosTransaction to be released.
Copyright © 2000-2002 France Telecom S.A., INRIA, IMAG-LSR All Rights Reserved.