|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FileDistribution
File Distribution. Has a model of the agent cache state, and is a factory for
FileDistributionHandlers.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface net.grinder.console.distribution.FileChangeWatcher |
|---|
FileChangeWatcher.FileChangedListener |
| Method Summary | |
|---|---|
AgentCacheState |
getAgentCacheState()
Accessor for our AgentCacheState. |
FileFilter |
getDistributionFileFilter()
Return a FileFilter that can be used to test whether the given file is one that will be distributed. |
FileDistributionHandler |
getHandler()
Get a FileDistributionHandler for a new file
distribution. |
void |
scanDistributionFiles()
Scan the given directory for files that have been recently modified. |
void |
setDirectory(Directory directory)
Update the distribution directory. |
void |
setFileFilterPattern(Pattern distributionFileFilterPattern)
Update the pattern used to filter out files that shouldn't be distributed. |
| Methods inherited from interface net.grinder.console.distribution.FileChangeWatcher |
|---|
addFileChangedListener |
| Method Detail |
|---|
AgentCacheState getAgentCacheState()
AgentCacheState.
FileDistributionHandler getHandler()
FileDistributionHandler for a new file
distribution.
The FileDistributionHandler updates our simple model of the remote cache state. Callers should only use one FileDistributionHandler at a time for a given FileDistribution. Using multiple instances concurrently will result in undefined behaviour.
void scanDistributionFiles()
FileFilter getDistributionFileFilter()
void setDirectory(Directory directory)
directory - The base distribution directory.void setFileFilterPattern(Pattern distributionFileFilterPattern)
distributionFileFilterPattern - -
The filter. Files with names that match this pattern will be
filtered out.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||