net.sf.farrago.session
Interface FarragoSessionInfo

All Known Implementing Classes:
FarragoDbSessionInfo

public interface FarragoSessionInfo


Method Summary
 List<Long> getExecutingStmtIds()
          Returns a list of identifiers of currently running statements.
 FarragoSessionExecutingStmtInfo getExecutingStmtInfo(Long id)
          Given a statement identifier, return an object containing its details.
 long getId()
          Returns unique identifier for this session.
 FarragoSession getSession()
           
 

Method Detail

getSession

FarragoSession getSession()
Returns:
the session itself.

getId

long getId()
Returns unique identifier for this session.

Returns:
unique session identifier

getExecutingStmtIds

List<Long> getExecutingStmtIds()
Returns a list of identifiers of currently running statements.

Returns:
List of unique statement identifiers

getExecutingStmtInfo

FarragoSessionExecutingStmtInfo getExecutingStmtInfo(Long id)
Given a statement identifier, return an object containing its details.

Parameters:
id - Unique identifier of a statement
Returns:
FarragoSessionExecutingStmtInfo containing statement details