Package org.apache.ignite.configuration
Class RootKey<T extends ConfigurationTree<? super VIEWT,? super CHANGET>,VIEWT,CHANGET extends VIEWT>
java.lang.Object
org.apache.ignite.configuration.RootKey<T,VIEWT,CHANGET>
- Type Parameters:
T- Type of the configuration tree described by the root key.VIEWT- Type of the immutable snapshot view associated with the tree.CHANGET- Type of the object that is used to change the configuration.
public final class RootKey<T extends ConfigurationTree<? super VIEWT,? super CHANGET>,VIEWT,CHANGET extends VIEWT>
extends Object
Configuration root selector.
-
Constructor Summary
ConstructorsConstructorDescriptionRootKey(String rootName, ConfigurationType storageType, Class<?> schemaClass, boolean internal) Constructor with explicit fields values. -
Method Summary
Modifier and TypeMethodDescriptionbooleaninternal()Check if the root configuration is marked withConfigurationExtensionandConfigurationExtension.internal()istrue.key()Returns the name of the configuration root.Class<?>Returns the schema class for the root.toString()type()Returns the configuration type of the root.
-
Constructor Details
-
RootKey
public RootKey(String rootName, ConfigurationType storageType, Class<?> schemaClass, boolean internal) Constructor with explicit fields values.
-
-
Method Details
-
key
Returns the name of the configuration root.- Returns:
- Name of the configuration root.
-
type
Returns the configuration type of the root.- Returns:
- Configuration type of the root.
-
schemaClass
Returns the schema class for the root.- Returns:
- Schema class for the root.
-
internal
public boolean internal()Check if the root configuration is marked withConfigurationExtensionandConfigurationExtension.internal()istrue.- Returns:
trueif the root configuration is internal.
-
toString
-