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
IOException
public boolean isChunked()
public int[] getBrickNumberInTree(long start, int len)
public boolean brickHasFilePart(int nodeInTree, int nodeLoc)
public String brick2host(String brick) throws IOException
IOException
public String brick2file(String brick) throws IOException
IOException
Copyright © 2014. All rights reserved.