public class IgfsContext extends Object
| Constructor and Description |
|---|
IgfsContext(GridKernalContext ctx,
FileSystemConfiguration cfg,
IgfsMetaManager metaMgr,
IgfsDataManager dataMgr,
IgfsServerManager srvMgr,
IgfsFragmentizerManager fragmentizerMgr) |
| Modifier and Type | Method and Description |
|---|---|
FileSystemConfiguration |
configuration() |
IgfsDataManager |
data() |
IgfsFragmentizerManager |
fragmentizer() |
IgfsEx |
igfs() |
boolean |
igfsNode(ClusterNode node)
Checks if given node is a IGFS node.
|
GridKernalContext |
kernalContext() |
List<IgfsManager> |
managers() |
IgfsMetaManager |
meta() |
void |
send(ClusterNode node,
Object topic,
IgfsCommunicationMessage msg,
GridIoPolicy plc) |
void |
send(UUID nodeId,
Object topic,
IgfsCommunicationMessage msg,
GridIoPolicy plc) |
IgfsServerManager |
server() |
public IgfsContext(GridKernalContext ctx, FileSystemConfiguration cfg, IgfsMetaManager metaMgr, IgfsDataManager dataMgr, IgfsServerManager srvMgr, IgfsFragmentizerManager fragmentizerMgr) throws IgniteCheckedException
ctx - Kernal context.cfg - IGFS configuration.metaMgr - Meta manager.dataMgr - Data manager.srvMgr - Server manager.fragmentizerMgr - Fragmentizer manager.IgniteCheckedException - If IGFS context instantiation is failed.public IgfsEx igfs()
public GridKernalContext kernalContext()
public FileSystemConfiguration configuration()
public List<IgfsManager> managers()
public IgfsMetaManager meta()
public IgfsDataManager data()
public IgfsServerManager server()
public IgfsFragmentizerManager fragmentizer()
public void send(UUID nodeId, Object topic, IgfsCommunicationMessage msg, GridIoPolicy plc) throws IgniteCheckedException
nodeId - Node ID.topic - Topic.msg - Message.plc - Policy.IgniteCheckedException - In case of error.public void send(ClusterNode node, Object topic, IgfsCommunicationMessage msg, GridIoPolicy plc) throws IgniteCheckedException
node - Node.topic - Topic.msg - Message.plc - Policy.IgniteCheckedException - In case of error.public boolean igfsNode(ClusterNode node)
node - Node to check.True if node has IGFS with this name, false otherwise.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.1.0-incubating Release Date : May 20 2015