public enum IgniteComponentType extends Enum<IgniteComponentType>
| Enum Constant and Description |
|---|
HADOOP
Hadoop.
|
IGFS
IGFS.
|
IGFS_HELPER
IGFS helper component.
|
INDEXING
Indexing.
|
JTA
Integration of cache transactions with JTA.
|
SCHEDULE
Cron-based scheduling, see
IgniteScheduler. |
SPRING
Spring XML parsing.
|
SSH
Nodes starting using SSH.
|
| Modifier and Type | Method and Description |
|---|---|
String |
className() |
<T> T |
create(boolean noOp)
Creates component.
|
<T extends GridComponent> |
create(GridKernalContext ctx,
boolean noOp)
Creates component.
|
<T extends GridComponent> |
createIfInClassPath(GridKernalContext ctx,
boolean mandatory)
Creates component.
|
<T> T |
createOptional()
First tries to find main component class, if it is not found creates no-op implementation.
|
<T> T |
createOptional(GridKernalContext ctx)
First tries to find main component class, if it is not found creates no-op implementation.
|
boolean |
inClassPath()
Check whether real component class is in classpath.
|
MessageFactory |
messageFactory()
Creates message factory for the component.
|
String |
module() |
static IgniteComponentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IgniteComponentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IgniteComponentType IGFS
public static final IgniteComponentType HADOOP
public static final IgniteComponentType IGFS_HELPER
public static final IgniteComponentType SPRING
public static final IgniteComponentType INDEXING
public static final IgniteComponentType SSH
public static final IgniteComponentType JTA
public static final IgniteComponentType SCHEDULE
IgniteScheduler.public static IgniteComponentType[] values()
for (IgniteComponentType c : IgniteComponentType.values()) System.out.println(c);
public static IgniteComponentType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String className()
public String module()
public boolean inClassPath()
True if in classpath.public <T extends GridComponent> T create(GridKernalContext ctx, boolean noOp) throws IgniteCheckedException
ctx - Kernal context.noOp - No-op flag.IgniteCheckedException - If failed.public <T extends GridComponent> T createIfInClassPath(GridKernalContext ctx, boolean mandatory) throws IgniteCheckedException
ctx - Kernal context.mandatory - If the component is mandatory.IgniteCheckedException - If failed.public <T> T create(boolean noOp)
throws IgniteCheckedException
noOp - No-op flag.IgniteCheckedException - If failed.public <T> T createOptional(GridKernalContext ctx) throws IgniteCheckedException
ctx - Kernal context.IgniteCheckedException - If failed.public <T> T createOptional()
throws IgniteCheckedException
IgniteCheckedException - If failed.@Nullable public MessageFactory messageFactory() throws IgniteCheckedException
null if none or the component is not in classpath.IgniteCheckedException - If failed.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.2.0-incubating Release Date : June 16 2015