mondrian.server
Class Locus
java.lang.Object
mondrian.server.Locus
- Direct Known Subclasses:
- SqlStatement.StatementLocus
public class Locus
- extends Object
Point of execution from which a service is invoked.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
execution
public final Execution execution
message
public final String message
component
public final String component
Locus
public Locus(Execution execution,
String component,
String message)
- Creates a Locus.
- Parameters:
execution - Execution contextcomponent - Description of a the component executing the query,
generally a method name, e.g. "SqlTupleReader.readTuples"message - Description of the purpose of this statement, to be
printed if there is an error
pop
public static void pop(Locus locus)
push
public static void push(Locus locus)
peek
public static Locus peek()
execute
public static <T> T execute(RolapConnection connection,
String component,
Locus.Action<T> action)
execute
public static <T> T execute(Execution execution,
String component,
Locus.Action<T> action)
getServer
public final MondrianServer getServer()