public class GlusterFSBrickClass extends Object
| Constructor and Description |
|---|
GlusterFSBrickClass(String brick,
long start,
long len,
boolean flag,
int stripeSize,
int nrStripes,
int switchCount) |
| Modifier and Type | Method and Description |
|---|---|
String |
brick2file(String brick) |
String |
brick2host(String brick) |
boolean |
brickHasFilePart(int nodeInTree,
int nodeLoc) |
String |
brickIsLocal(String hostname) |
int[] |
getBrickNumberInTree(long start,
int len) |
boolean |
isChunked() |
public GlusterFSBrickClass(String brick, long start, long len, boolean flag, int stripeSize, int nrStripes, int switchCount) throws IOException
IOExceptionpublic boolean isChunked()
public int[] getBrickNumberInTree(long start,
int len)
public boolean brickHasFilePart(int nodeInTree,
int nodeLoc)
public String brick2host(String brick) throws IOException
IOExceptionpublic String brick2file(String brick) throws IOException
IOExceptionCopyright © 2014. All rights reserved.