Package org.apache.geode.cache.control
Interface RebalanceFactory
public interface RebalanceFactory
Factory for defining and starting a
RebalanceOperation.- Since:
- GemFire 6.0
-
Method Summary
Modifier and TypeMethodDescriptionexcludeRegions(Set<String> regions) Exclude specific regions from the rebalancing operation.includeRegions(Set<String> regions) Specify which regions to include in the rebalance operation.simulate()Simulates a rebalance of the GemFire controlled cache resources on this member.start()Asynchronously starts a new rebalance operation.
-
Method Details
-
includeRegions
Specify which regions to include in the rebalance operation. The default,null, means all regions should be rebalanced. Includes take precedence over excludes.- Parameters:
regions- A set containing the names of regions to include.- Returns:
- this
RebalanceFactory - Since:
- GemFire 6.5
-
excludeRegions
Exclude specific regions from the rebalancing operation. The default,null, means don't exclude any regions.- Parameters:
regions- A set containing the names of regions to exclude.- Returns:
- this
RebalanceFactory - Since:
- GemFire 6.5
-
start
RebalanceOperation start()Asynchronously starts a new rebalance operation. Only the GemFire controlled cache resources used by this member will be rebalanced. Operation may queue as needed for resources in contention by other active rebalance operations.- Returns:
- an in-progress
RebalanceOperation
-
simulate
RebalanceOperation simulate()Simulates a rebalance of the GemFire controlled cache resources on this member. This operation will not make any actual changes. It will only produce a report of what the results would have been had this been a real rebalance operation.- Returns:
- an in-progress
RebalanceOperation
-