Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Stores the plan for the move of an individual region.
Contains info for the region being moved, info for the server the region
should be moved from, and info for the server the region should be moved
The comparable implementation of this class compares only the region
information and not the source/dest server info.
Instantiate a plan for a region move, moving the specified region from
the specified source server to the specified destination server.
Destination server can be instantiated as null and later set
hri region to be moved
source regionserver region should be moved from
dest regionserver region should be moved to
Set the destination server for the plan for this region.
Get the source server for the plan for this region.
- server info for source
Get the destination server for the plan for this region.
- server info for destination
Get the encoded region name for the region this plan is for.
- Encoded region name
Compare the region info.
o region plan you are comparing against