public class Locus extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
Locus.Action<T> |
Modifier and Type | Field and Description |
---|---|
String |
component |
Execution |
execution |
String |
message |
Constructor and Description |
---|
Locus(Execution execution,
String component,
String message)
Creates a Locus.
|
Modifier and Type | Method and Description |
---|---|
static <T> T |
execute(Execution execution,
String component,
Locus.Action<T> action) |
static <T> T |
execute(RolapConnection connection,
String component,
Locus.Action<T> action) |
MondrianServer |
getServer() |
static Locus |
peek() |
static void |
pop(Locus locus) |
static void |
push(Locus locus) |
public final Execution execution
public final String message
public final String component
public Locus(Execution execution, String component, String message)
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 errorpublic static void pop(Locus locus)
public static void push(Locus locus)
public static Locus peek()
public static <T> T execute(RolapConnection connection, String component, Locus.Action<T> action)
public static <T> T execute(Execution execution, String component, Locus.Action<T> action)
public final MondrianServer getServer()
Copyright © 2018 Hitachi Vantara. All rights reserved.