Search in sources :

Example 1 with FileSystemDirectory

use of com.linkedin.d2.balancer.util.FileSystemDirectory in project rest.li by linkedin.

the class FSBasedDownstreamServicesFetcher method getServiceNames.

@Override
public void getServiceNames(SuccessCallback<List<String>> callback) {
    FileSystemDirectory fsDirectory = new FileSystemDirectory(_d2FsPath, _d2ServicePath);
    callback.onSuccess(fsDirectory.getServiceNames());
}
Also used : FileSystemDirectory(com.linkedin.d2.balancer.util.FileSystemDirectory)

Aggregations

FileSystemDirectory (com.linkedin.d2.balancer.util.FileSystemDirectory)1