public class InstanceInfoGenerator
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
InstanceInfoGenerator.InstanceInfoGeneratorBuilder |
| Modifier and Type | Field and Description |
|---|---|
static int |
RENEW_INTERVAL |
| Modifier and Type | Method and Description |
|---|---|
com.netflix.appinfo.InstanceInfo |
first() |
static InstanceInfoGenerator.InstanceInfoGeneratorBuilder |
newBuilder(int instanceCount,
int applicationCount) |
static InstanceInfoGenerator.InstanceInfoGeneratorBuilder |
newBuilder(int instanceCount,
java.lang.String... appNames) |
java.util.Iterator<com.netflix.appinfo.InstanceInfo> |
serviceIterator() |
com.netflix.appinfo.InstanceInfo |
take(int idx) |
com.netflix.discovery.shared.Applications |
takeDelta(int count) |
com.netflix.discovery.shared.Applications |
takeDeltaForDelete(boolean useInstanceId,
int instanceCount) |
static com.netflix.appinfo.InstanceInfo |
takeOne() |
com.netflix.discovery.shared.Applications |
toApplications() |
java.util.List<com.netflix.appinfo.InstanceInfo> |
toInstanceList() |
public static final int RENEW_INTERVAL
public com.netflix.discovery.shared.Applications takeDelta(int count)
public java.util.Iterator<com.netflix.appinfo.InstanceInfo> serviceIterator()
public com.netflix.discovery.shared.Applications toApplications()
public java.util.List<com.netflix.appinfo.InstanceInfo> toInstanceList()
public com.netflix.appinfo.InstanceInfo first()
public com.netflix.appinfo.InstanceInfo take(int idx)
public static com.netflix.appinfo.InstanceInfo takeOne()
public static InstanceInfoGenerator.InstanceInfoGeneratorBuilder newBuilder(int instanceCount, int applicationCount)
public static InstanceInfoGenerator.InstanceInfoGeneratorBuilder newBuilder(int instanceCount, java.lang.String... appNames)
public com.netflix.discovery.shared.Applications takeDeltaForDelete(boolean useInstanceId,
int instanceCount)