@Service(value=SegmentDiscoveryLiteService.class) public class SegmentDiscoveryLiteService extends Object
Note that since currently the SegmentNodeStore is not cluster-based, the provided clusterView is a hard-coded one consisting only of the local instance. But it is nevertheless useful for upper layer discovery.oak.
for a more in-depth description of the discovery-lite descriptor| Modifier and Type | Field and Description |
|---|---|
static String |
OAK_DISCOVERYLITE_CLUSTERVIEW
Name of the repository descriptor via which the clusterView is published
- which is the raison d'etre of the DocumentDiscoveryLiteService
TODO: move this constant to a generic place for both segment and document
|
| Constructor and Description |
|---|
SegmentDiscoveryLiteService() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(org.osgi.service.component.ComponentContext context)
On activate the SegmentDiscoveryLiteService registers
the descriptor
|
public static final String OAK_DISCOVERYLITE_CLUSTERVIEW
Copyright © 2012-2018 The Apache Software Foundation. All Rights Reserved.