spin.demo.complex
Class LatencyService
java.lang.Objectspin.demo.complex.LatencyService
- DirectoryService
public class LatencyService
extends java.lang.Object
implements DirectoryService
Service that adds a latency to another service.
Directory[] | getChildren(Directory directory)- Get the children of a directory.
|
Directory | getRoot()- Get the root directory.
|
LatencyService
public LatencyService(DirectoryService service)
Constructor.
getChildren
public Directory[] getChildren(Directory directory)
throws DirectoryServiceException Get the children of a directory.
directory - directory to get children for
getRoot
public Directory getRoot()
Get the root directory.