public class IgfsAttributes extends Object implements Externalizable
This class contains information on a single IGFS configured on some node.
Constructor and Description |
---|
IgfsAttributes()
Public no-arg constructor for
Externalizable . |
IgfsAttributes(String igfsName,
int blockSize,
int grpSize,
String metaCacheName,
String dataCacheName,
IgfsMode dfltMode,
Map<String,IgfsMode> pathModes,
boolean fragmentizerEnabled) |
Modifier and Type | Method and Description |
---|---|
int |
blockSize() |
String |
dataCacheName() |
IgfsMode |
defaultMode() |
boolean |
fragmentizerEnabled() |
int |
groupSize() |
String |
igfsName() |
String |
metaCacheName() |
Map<String,IgfsMode> |
pathModes() |
void |
readExternal(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
public IgfsAttributes(String igfsName, int blockSize, int grpSize, String metaCacheName, String dataCacheName, IgfsMode dfltMode, Map<String,IgfsMode> pathModes, boolean fragmentizerEnabled)
igfsName
- IGFS name.blockSize
- File's data block size (bytes).grpSize
- Size of the group figured in IgfsGroupDataBlocksKeyMapper
.metaCacheName
- Meta cache name.dataCacheName
- Data cache name.dfltMode
- Default mode.pathModes
- Path modes.public IgfsAttributes()
Externalizable
.public String igfsName()
public int blockSize()
public int groupSize()
IgfsGroupDataBlocksKeyMapper
.public String metaCacheName()
public String dataCacheName()
public IgfsMode defaultMode()
public boolean fragmentizerEnabled()
True
if fragmentizer is enabled.public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Follow @ApacheIgnite
Ignite Fabric : ver. 2.3.0 Release Date : October 28 2017