public class DefaultMigrationAddressComparator extends Object implements MigrationAddressComparator
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
NEW_ADDRESS_SIZE |
static String |
OLD_ADDRESS_SIZE |
| 构造器和说明 |
|---|
DefaultMigrationAddressComparator() |
| 限定符和类型 | 方法和说明 |
|---|---|
Map<String,Integer> |
getAddressSize(String displayServiceKey) |
<T> boolean |
shouldMigrate(ClusterInvoker<T> newInvoker,
ClusterInvoker<T> oldInvoker,
MigrationRule rule) |
public <T> boolean shouldMigrate(ClusterInvoker<T> newInvoker, ClusterInvoker<T> oldInvoker, MigrationRule rule)
shouldMigrate 在接口中 MigrationAddressComparatorpublic Map<String,Integer> getAddressSize(String displayServiceKey)
getAddressSize 在接口中 MigrationAddressComparatorCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.