public class TerracottaVoter extends Object
| Modifier and Type | Method and Description |
|---|---|
static TerracottaVoter |
dcVoter(String id,
String hostName,
String... serverNames) |
String |
getHostName() |
List<String> |
getHostPorts() |
String |
getId() |
List<String> |
getServerNames() |
static TerracottaVoter |
voter(String id,
String hostName,
String... hostPorts) |
public static TerracottaVoter voter(String id, String hostName, String... hostPorts)
public static TerracottaVoter dcVoter(String id, String hostName, String... serverNames)
public String getId()
public String getHostName()
Copyright © 2021. All rights reserved.