}
}
@Override
public NodeMetadata getMetadata(String path) throws DirectoryServiceException {
DepTuple tuple = null;
try {
if(cont++==50){
cont=0;
System.out.print(".");
}
String[] divPath = dividePath(path);
long time = System.currentTimeMillis();
Printer.println(" -> Start operation rdp at DepSpace", "azul");
tuple = accessor.rdp(DepTuple.createTuple("*",divPath[0], divPath[1], "*", "*", "*"));
long tempo = System.currentTimeMillis()-time;
Printer.println(" -> End operation rdp at DepSpace", "azul");
Printer.println(" -> Operation rdp took: " + Long.toString(tempo) + " milis", "azul");
Statistics.incRdp(System.currentTimeMillis()-time);
} catch (DepSpaceException e) {
throw new DirectoryServiceConnectionProblemException("Connection Problem");
}
if(tuple == null)
throw new DirectoryServiceException("Tuple not Found!");
NodeMetadata node = new NodeMetadata(tuple.getFields(), tuple.getC_rd(), tuple.getC_in());
return node;
}