public interface RepositoryFixture
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAvailable(int n)
Checks whether this fixture is currently available.
|
Repository[] |
setUpCluster(int n)
Creates a new repository cluster with the given number of nodes.
|
void |
syncRepositoryCluster(Repository... nodes)
Ensures that all content changes seen by one of the given cluster
nodes are seen also by all the other given nodes.
|
void |
tearDownCluster()
Releases resources associated with the given repository cluster.
|
boolean isAvailable(int n)
n - size of the requested clustertrue iff the fixture is availableRepository[] setUpCluster(int n) throws Exception
tearDownCluster()
when the test cluster is no longer needed.n - size of the requested clusterException - if the cluster could not be set upvoid syncRepositoryCluster(Repository... nodes)
nodes - cluster nodes to be synchronizedvoid tearDownCluster()
setUpCluster(int) shall call this
method once the cluster is no longer needed.Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.