public abstract class SlavePriorities extends Object
SlavePriority implementations.| Modifier and Type | Method and Description |
|---|---|
static SlavePriority |
fixed() |
static SlavePriority |
givenOrder() |
static SlavePriority |
roundRobin() |
public static SlavePriority givenOrder()
SlavePriority which returns the slaves in the order that
they are given in the slaves array.public static SlavePriority roundRobin()
SlavePriority which returns the slaves in a round robin
fashion, more precisely the start index in the array increments with
each prioritization, ordered
by server id in ascending.public static SlavePriority fixed()
SlavePriority which returns the slaves in the same fixed order
sorted by server id in descending order.Copyright © 2002–2013 The Neo4j Graph Database Project. All rights reserved.