public class ViewHelper extends Object
Constructor and Description |
---|
ViewHelper() |
Modifier and Type | Method and Description |
---|---|
static Set<String> |
determineLiveInstances(org.apache.sling.api.resource.Resource clusterInstancesResource,
Config config)
Return the list of cluster instances that are 'live', ie that have
sent a heartbeat within the configured heartbeat timeout
|
static View |
getEstablishedView(org.apache.sling.api.resource.ResourceResolver resourceResolver,
Config config)
Return the currently established cluster view - or null if there is no
cluster view established at the moment.
|
public static Set<String> determineLiveInstances(org.apache.sling.api.resource.Resource clusterInstancesResource, Config config)
clusterInstancesResource
- config
- Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.