public class DistributionControlImplementation extends Object implements DistributionControl
DistributionControl
.Constructor and Description |
---|
DistributionControlImplementation(ConsoleCommunication consoleCommunication)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
clearFileCaches(Address address)
Signal agents matching the given address to clear their file caches.
|
void |
sendFile(Address address,
FileContents fileContents)
Send a file to the agents matching the given address.
|
void |
setHighWaterMark(Address address,
CacheHighWaterMark highWaterMark)
Inform agent processes of a checkpoint of the cache state.
|
public DistributionControlImplementation(ConsoleCommunication consoleCommunication)
consoleCommunication
- The console communication handler.public void clearFileCaches(Address address)
clearFileCaches
in interface DistributionControl
address
- The address of the agents.public void sendFile(Address address, FileContents fileContents)
sendFile
in interface DistributionControl
address
- The address of the agents.fileContents
- The file contents.public void setHighWaterMark(Address address, CacheHighWaterMark highWaterMark)
setHighWaterMark
in interface DistributionControl
address
- The address of the agents.highWaterMark
- A checkpoint of the cache state.Copyright © 2000-2014. All Rights Reserved.