@GridMBeanDescription(value="MBean that provides access to H2 indexing SPI configuration.") public interface GridH2IndexingSpiMBean extends GridSpiManagementMBean
GridH2IndexingSpi.| Modifier and Type | Method and Description |
|---|---|
long |
getAllocatedOffHeapMemory()
Gets currently allocated offheap memory.
|
String |
getIndexH2Options()
Gets H2 specific options as string.
|
int |
getIndexMaxOperationMemory()
Gets maximum index operation memory.
|
String |
getIndexPassword()
Gets index database password.
|
String |
getIndexUsername()
Gets user name for index database.
|
long |
getIndexWriteLockWaitTime()
Gets index write lock wait time in milliseconds.
|
long |
getLongQueryExecutionTimeout()
Get query execution time interpreted by SPI as long query for additional handling (e.g. print warning).
|
long |
getMaxOffHeapMemory()
Gets maximum amount of memory available to off-heap storage.
|
int |
getMaxOffheapRowsCacheSize()
Gets maximum allowed off-heap rows cache size in items.
|
int |
getOffheapRowsCacheSize()
Gets current off-heap rows cache size in items.
|
String |
getSpaceNames()
Gets all registered in this SPI spaces comma separated.
|
boolean |
isDefaultIndexFixedTyping()
If false, SPI will store all keys in BINARY form to make it possible to store
the same value type with different key types.
|
boolean |
isDefaultIndexPrimitiveKey()
Gets if SPI will index primitive key-value pairs by key.
|
boolean |
isDefaultIndexPrimitiveValue()
Gets if SPI will index primitive key-value pairs by value.
|
boolean |
isIndexFixedTyping(String spaceName)
If
false, SPI will store all keys in BINARY form to make it possible to store
the same value type with different key types. |
boolean |
isIndexPrimitiveKey(String spaceName)
Defines whether indexing SPI will index by key entries where key and value are primitive types in given space.
|
boolean |
isIndexPrimitiveValue(String spaceName)
Defines whether indexing SPI will index by value entries where key and value are primitive types in given space.
|
boolean |
isLongQueryExplain()
If
true, SPI prints SQL execution plan for long queries (explain SQL query). |
getAuthor, getGridGainHome, getLocalNodeId, getName, getStartTimestamp, getStartTimestampFormatted, getUpTime, getUpTimeFormatted, getVendorEmail, getVendorUrl, getVersion@GridMBeanDescription(value="Index primitive key-value pairs by key by default in all schemas.") boolean isDefaultIndexPrimitiveKey()
@GridMBeanDescription(value="Index primitive key-value pairs by value by default in all schemas.") boolean isDefaultIndexPrimitiveValue()
GridH2IndexingSpi.setDefaultIndexPrimitiveKey(boolean) set to true.@GridMBeanDescription(value="If false, SPI will store all keys in BINARY form, otherwise it will try to convert key type to respective SQL type.") boolean isDefaultIndexFixedTyping()
@GridMBeanDescription(value="Maximum off-heap memory for indexes.") long getMaxOffHeapMemory()
-1 - Means that off-heap storage is disabled.0 - GridGain will not limit off-heap storage (it's up to user to properly
add and remove entries from cache to ensure that off-heap storage does not grow
indefinitely.
-1, which means that off-heap storage is disabled by default.
Use off-heap storage to load gigabytes of data in memory without slowing down Garbage Collection. Essentially in this case you should allocate very small amount of memory to JVM and GridGain will cache most of the data in off-heap space without affecting JVM performance at all.
@GridMBeanDescription(value="Index write lock wait time in milliseconds.") long getIndexWriteLockWaitTime()
100.@GridMBeanDescription(value="Maximum allowed off-heap rows cache size.") int getMaxOffheapRowsCacheSize()
@GridMBeanDescription(value="Current off-heap rows cache size.") int getOffheapRowsCacheSize()
@GridMBeanDescription(value="Allocated off-heap memory for indexes.") long getAllocatedOffHeapMemory()
@GridMBeanDescription(value="H2 Database options.") String getIndexH2Options()
@GridMBeanDescription(value="Maximum memory used for large operations (delete and insert), in bytes.") int getIndexMaxOperationMemory()
@GridMBeanDescription(value="H2 User name.") String getIndexUsername()
@GridMBeanDescription(value="H2 User password.") String getIndexPassword()
@GridMBeanDescription(value="All registered in this SPI spaces.") String getSpaceNames()
@GridMBeanDescription(value="Query execution time interpreted by SPI as long query.") long getLongQueryExecutionTimeout()
isLongQueryExplain()@GridMBeanDescription(value="If true, SPI will print SQL execution plan for long queries (explain SQL query).") boolean isLongQueryExplain()
true, SPI prints SQL execution plan for long queries (explain SQL query).getLongQueryExecutionTimeout()@GridMBeanDescription(value="Index by key entries where key and value are primitive types in given space.")
@GridMBeanParametersNames(value="spaceName")
@GridMBeanParametersDescriptions(value="Space name.")
boolean isIndexPrimitiveKey(@Nullable
String spaceName)
spaceName - Space name.@GridMBeanDescription(value="Index by value entries where key and value are primitive types in given space.")
@GridMBeanParametersNames(value="spaceName")
@GridMBeanParametersDescriptions(value="Space name.")
boolean isIndexPrimitiveValue(@Nullable
String spaceName)
spaceName - Space name.@GridMBeanDescription(value="If false, SPI will store all keys in BINARY form, otherwise it will try to convert key type to respective SQL type.")
@GridMBeanParametersNames(value="spaceName")
@GridMBeanParametersDescriptions(value="Space name.")
boolean isIndexFixedTyping(@Nullable
String spaceName)
false, SPI will store all keys in BINARY form to make it possible to store
the same value type with different key types. If true, key type will be converted
to respective SQL type if it is possible.
Setting this value to false also means that '_key' column cannot be indexed and
cannot participate in query where clauses. The behavior of using '_key' column in where
clauses with this flag set to false is undefined.
spaceName - Space name.
Core Products
:
Data Grid ver. 6.0.2,
Streaming ver. 6.0.2
Accelerators
:
Hadoop Accelerator ver. 6.0.2
Release Date
:
March 24 2014