public class IgfsModeResolver extends Object implements Externalizable
| Constructor and Description |
|---|
IgfsModeResolver()
Empty constructor required by
Externalizable. |
IgfsModeResolver(IgfsMode dfltMode,
ArrayList<T2<IgfsPath,IgfsMode>> modes)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasPrimaryChild(IgfsPath path)
Answers if the given path has an immediate child of PRIMARY mode.
|
void |
readExternal(ObjectInput in) |
IgfsMode |
resolveMode(IgfsPath path)
Resolves IGFS mode for the given path.
|
void |
writeExternal(ObjectOutput out) |
public IgfsModeResolver()
Externalizable.public IgfsModeResolver(IgfsMode dfltMode, @Nullable ArrayList<T2<IgfsPath,IgfsMode>> modes) throws IgniteCheckedException
dfltMode - Default IGFS mode.modes - List of configured modes. The order is significant as modes are added in order of occurrence.IgniteCheckedException - On error.public IgfsMode resolveMode(IgfsPath path)
path - IGFS path.public boolean hasPrimaryChild(IgfsPath path)
path - The path to query.public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundException
Follow @ApacheIgnite
Ignite Fabric : ver. 2.1.0 Release Date : July 20 2017