Package 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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Locus.Action<T>
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> T
execute(RolapConnection connection, String component, Locus.Action<T> action)
static <T> T
execute(Execution execution, String component, Locus.Action<T> action)
MondrianServer
getServer()
static boolean
isEmpty()
static Locus
peek()
static void
pop(Locus locus)
static void
push(Locus locus)
-
-
-
Constructor Detail
-
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
-
-
Method Detail
-
pop
public static void pop(Locus locus)
-
push
public static void push(Locus locus)
-
peek
public static Locus peek()
-
isEmpty
public static boolean isEmpty()
-
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()
-
-