|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmondrian.rolap.SqlMemberSource.NullValuePoolFactory
public static final class SqlMemberSource.NullValuePoolFactory
Default SqlMemberSource.ValuePoolFactory
implementation, used if
MondrianProperties.SqlMemberSourceValuePoolFactoryClass
is not set.
Constructor Summary | |
---|---|
SqlMemberSource.NullValuePoolFactory()
|
Method Summary | |
---|---|
java.util.Map<java.lang.Object,java.lang.Object> |
create(SqlMemberSource source)
Create a new Map to be used to pool values. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SqlMemberSource.NullValuePoolFactory()
Method Detail |
---|
public java.util.Map<java.lang.Object,java.lang.Object> create(SqlMemberSource source)
Create a new Map
to be used to pool values.
The value pool permits us to reuse references to existing objects
rather than create new references to what are essentially duplicates
of the same object. The intent is to allow the duplicate object
to be garbage collected earlier, thus keeping overall memory
requirements down.
This version returns null, meaning that by default values will not be pooled.
create
in interface SqlMemberSource.ValuePoolFactory
source
- The SqlMemberSource
in which values are
being pooled.
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |