public class IgfsModeResolver extends Object
| Constructor and Description |
|---|
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.
|
ArrayList<T2<IgfsPath,IgfsMode>> |
modesOrdered() |
IgfsMode |
resolveMode(IgfsPath path)
Resolves IGFS mode for the given path.
|
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.IgniteCheckedExceptionpublic IgfsMode resolveMode(IgfsPath path)
path - IGFS path.@Nullable public ArrayList<T2<IgfsPath,IgfsMode>> modesOrdered()
null if no modes set.public boolean hasPrimaryChild(IgfsPath path)
path - The path to query.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.8.0 Release Date : December 5 2016