public class GridGgfsAttributes extends Object implements Externalizable
This class contains information on a single GGFS configured on some node.
| Constructor and Description |
|---|
GridGgfsAttributes()
Public no-arg constructor for
Externalizable. |
GridGgfsAttributes(String ggfsName,
int blockSize,
int grpSize,
String metaCacheName,
String dataCacheName,
org.gridgain.grid.ggfs.GridGgfsMode dfltMode,
Map<String,org.gridgain.grid.ggfs.GridGgfsMode> pathModes,
boolean fragmentizerEnabled) |
| Modifier and Type | Method and Description |
|---|---|
int |
blockSize() |
String |
dataCacheName() |
org.gridgain.grid.ggfs.GridGgfsMode |
defaultMode() |
boolean |
fragmentizerEnabled() |
String |
ggfsName() |
int |
groupSize() |
String |
metaCacheName() |
Map<String,org.gridgain.grid.ggfs.GridGgfsMode> |
pathModes() |
void |
readExternal(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
public GridGgfsAttributes(String ggfsName, int blockSize, int grpSize, String metaCacheName, String dataCacheName, org.gridgain.grid.ggfs.GridGgfsMode dfltMode, Map<String,org.gridgain.grid.ggfs.GridGgfsMode> pathModes, boolean fragmentizerEnabled)
ggfsName - GGFS name.blockSize - File's data block size (bytes).grpSize - Size of the group figured in GridGgfsGroupDataBlocksKeyMapper.metaCacheName - Meta cache name.dataCacheName - Data cache name.dfltMode - Default mode.pathModes - Path modes.public GridGgfsAttributes()
Externalizable.public String ggfsName()
public int blockSize()
public int groupSize()
GridGgfsGroupDataBlocksKeyMapper.public String metaCacheName()
public String dataCacheName()
public org.gridgain.grid.ggfs.GridGgfsMode defaultMode()
public boolean fragmentizerEnabled()
True if fragmentizer is enabled.public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © 2014. All rights reserved.