|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use VotingView | |
---|---|
org.apache.sling.discovery.impl.cluster.voting |
Uses of VotingView in org.apache.sling.discovery.impl.cluster.voting |
---|
Methods in org.apache.sling.discovery.impl.cluster.voting that return VotingView | |
---|---|
static VotingView |
VotingHelper.getWinningVoting(org.apache.sling.api.resource.ResourceResolver resourceResolver,
Config config)
Return the still valid (ongoing) and winning (received a yes vote from everybody) voting |
static VotingView |
VotingHelper.getYesVotingOf(org.apache.sling.api.resource.ResourceResolver resourceResolver,
Config config,
String slingId)
Returns the voting for which the given slingId has vote yes or was the initiator (which is equal to yes). |
static VotingView |
VotingView.newVoting(org.apache.sling.api.resource.ResourceResolver resourceResolver,
Config config,
String newViewId,
String initiatorId,
Set<String> liveInstances)
Create a new voting with the given list of instances, the given voting/view id and the given slingid of the initiator. |
Methods in org.apache.sling.discovery.impl.cluster.voting that return types with arguments of type VotingView | |
---|---|
static List<VotingView> |
VotingHelper.listOpenNonWinningVotings(org.apache.sling.api.resource.ResourceResolver resourceResolver,
Config config)
List all the votings that are currently 'open' but 'not winning'. |
static List<VotingView> |
VotingHelper.listTimedoutVotings(org.apache.sling.api.resource.ResourceResolver resourceResolver,
Config config)
List all the votings that have timed out |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |