T
- public class ServiceCompareImpl<T extends Service> extends Object implements ServiceCompare<Service>
Constructor and Description |
---|
ServiceCompareImpl() |
Modifier and Type | Method and Description |
---|---|
int |
compare(ServiceRegistryItem source,
ServiceRegistryItem dest)
比较两个服务的版本
|
public int compare(ServiceRegistryItem source, ServiceRegistryItem dest) throws NotComparableServiceException
ServiceCompare
compare
in interface ServiceCompare<Service>
NotComparableServiceException
- 当两个服务不可比较时,抛出此异常Copyright © 2006–2018 TinyGroup. All rights reserved.