Package mondrian.util
package mondrian.util
Mondrian utilities.
-
ClassDescriptionAbstract implementation of
MemoryMonitor
.ArraySortedSet<E extends Comparable<E>>Implementation ofSortedSet
based on an array.ArrayStack<E>Stack implementation based onArrayList
.Encodes and decodes to and from Base64 notation.ABase64.InputStream
will read data from another java.io.InputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.ABase64.OutputStream
will write data to another java.io.OutputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.View of an object as a map.BlockingHashMap<K,V> A limited Map implementation which supports waiting for a value to be available when calling get().Holder for constants which indicate whether particular issues have been fixed.Collection of bytes.CacheMap<S,T> Map with limited size to be used as cache.Encapsulates cancel and timeouts checksList that generates the cartesian product of its component lists.Instantiates a class.Partial implementation ofClassResolver
.Implementation ofClassResolver
that callsThread.getContextClassLoader()
on the current thread.A list that, given a collection of elements, contains every possible combination of those objects (also known as the power set of those objects).Implementation ofFuture
that has already completed.Composite collections.List composed of several lists.List backed by a collection of sub-lists.A collection of counters.A class derived fromDelegatingInvocationHandler
handles a method call by looking for a method in itself with identical parameters.An expiring reference is a subclass ofSoftReference
which pins the reference in memory until a certain timeout is reached.TheFauxMemoryMonitor
implements theMemoryMonitor
interface but does nothing: all methods are empty.Iterable list which filters undesirable elements.Filter to determine which elements should be shown.Format
formats numbers, strings and dates according to the same specification as Visual Basic'sformat()
function.A FormatLocale contains all information necessary to format objects based upon the locale of the end-user.Utilities for parsing fully-qualified member names, tuples, member lists, and tuple lists.Implementation of Builder that resolves segment lists to members.Implementation of Builder that builds a member list.Implementation of Builder that builds a tuple.Implementation of Builder that builds a tuple list.Iterable over an iterator.Provides a way to pass objects via a string moniker.Entry in aLockBox
.MdcUtil is a small helper class for copying log4j MDC context between threads.API for Mondrian's memory monitors.AMemoryMonitor
client implements theListener
interface and registers with theMemoryMonitor
.This is an interface that aMemoryMonitor
may optionally implement.TheMemoryMonitorFactory
is used to get the application'sMemoryMonitor
.TheNotificationMemoryMonitor
class uses the Java5 memory management system to detect system low memory events.Concrete derived classes of the genericObjectFactory
class are used to produce an implementation of an interface (a normal interface implementation or a Proxy).This is for testing only.Implementation of ObjectFactory that returns only a single instance of the Object.ObjectPool<T>AnObjectPool
is a low-memory replacement for aHashSet
.Pair<L,R> Pair of values.Partially-ordered set.Ordering relation.Utilities to generate MondrianProperties.java and mondrian.properties from property definitions in MondrianProperties.xml.ASchedule
generates a series of time events.Utility functions to discover Java services.SlotFuture<V>Implementation ofFuture
that completes when a thread writes a value (or an exception) into a slot.SpatialValueTree<K,E, V> A SpatialValueTree is a multidimensional index of values.Describes a spatial region within aSpatialValueTree
.Variation of Luc's SpatialValueTree.A request for a region.Type-safe value that contains an immutable string.Implementation ofList
for transposing an array of lists.Triple<T0,T1, T2> Tuple of three values.Iterator over union of severalIterable
collections.Implementation ofList
where all methods throw an UnsupportedOperationException exception except for theisEmpty
method.Interface containing methods which are implemented differently in different versions of the JDK.Implementation ofUtilCompatible
which runs in JDK 1.5.Implementation ofUtilCompatible
that runs in JDK 1.6.Class was created to prevent XXE Security Vulnerabilities http://jira.pentaho.com/browse/PPP-3506 Created by Yury_Bakhmutski on 10/21/2016.