Package org.refcodes.rest.ext.eureka
Interface EurekaServerDescriptor
-
- All Superinterfaces:
org.refcodes.mixin.AliasAccessor
,org.refcodes.mixin.AliasAccessor.AliasMutator
,org.refcodes.mixin.AliasAccessor.AliasProperty
,AmazonMetaDataAccessor
,AmazonMetaDataAccessor.AmazonMetaDataMutator
,AmazonMetaDataAccessor.AmazonMetaDataProperty
,org.refcodes.structure.CanonicalMap
,org.refcodes.structure.CanonicalMap.CanonicalMapBuilder
,org.refcodes.structure.CanonicalMap.MutableCanonicalMap
,org.refcodes.structure.Clearable
,org.refcodes.structure.Containable
,org.refcodes.mixin.DelimiterAccessor
,org.refcodes.structure.Dictionary<java.lang.String,T>
,org.refcodes.structure.Dictionary.MutableDictionary<java.lang.String,T>
,org.refcodes.structure.Dictionary.MutableDictionary.DictionaryBuilder<java.lang.String,T,org.refcodes.structure.PathMap.PathMapBuilder<T>>
,org.refcodes.mixin.Dumpable
,EurekaDataCenterTypeAccessor
,EurekaDataCenterTypeAccessor.EurekaDataCenterTypeMutator
,EurekaDataCenterTypeAccessor.EurekaDataCenterTypeProperty
,EurekaServiceStatusAccessor
,EurekaServiceStatusAccessor.EurekaServiceStatusMutator
,EurekaServiceStatusAccessor.EurekaServiceStatusProperty
,org.refcodes.rest.HomeUrlAccessor
,org.refcodes.rest.HomeUrlAccessor.HomeUrlMutator
,org.refcodes.rest.HomeUrlAccessor.HomeUrlProperty
,org.refcodes.net.HostAccessor
,org.refcodes.net.HostAccessor.HostMutator
,org.refcodes.net.HostAccessor.HostProperty
,org.refcodes.net.HttpBodyMap
,org.refcodes.rest.HttpServerDescriptor
,org.refcodes.net.IpAddressAccessor
,org.refcodes.net.IpAddressAccessor.IpAddressMutator
,org.refcodes.net.IpAddressAccessor.IpAddressProperty
,org.refcodes.structure.Keys<java.lang.String,T>
,org.refcodes.structure.Keys.MutableKeys<java.lang.String,T>
,org.refcodes.structure.Keys.MutableValues<java.lang.String,T>
,java.util.Map<java.lang.String,T>
,org.refcodes.structure.PathMap<java.lang.String>
,org.refcodes.structure.PathMap.MutablePathMap<java.lang.String>
,org.refcodes.structure.PathMap.PathMapBuilder<java.lang.String>
,org.refcodes.rest.PingUrlAccessor
,org.refcodes.rest.PingUrlAccessor.PingUrlMutator
,org.refcodes.rest.PingUrlAccessor.PingUrlProperty
,org.refcodes.mixin.PortAccessor
,org.refcodes.mixin.PortAccessor.PortMutator
,org.refcodes.mixin.PortAccessor.PortProperty
,org.refcodes.structure.PropertiesAccessorMixin
,org.refcodes.structure.PropertiesAccessorMixin.PropertiesBuilderMixin<java.lang.String>
,org.refcodes.structure.PropertiesAccessorMixin.PropertiesMixin
,org.refcodes.structure.PropertiesAccessorMixin.PropertiesMutatorMixin
,org.refcodes.rest.StatusUrlAccessor
,org.refcodes.rest.StatusUrlAccessor.StatusUrlMutator
,org.refcodes.rest.StatusUrlAccessor.StatusUrlProperty
,org.refcodes.mixin.TypeAccessor<java.lang.String>
- All Known Implementing Classes:
EurekaServerDescriptorImpl
public interface EurekaServerDescriptor extends org.refcodes.rest.HttpServerDescriptor, org.refcodes.mixin.AliasAccessor.AliasProperty, org.refcodes.rest.PingUrlAccessor.PingUrlProperty, org.refcodes.rest.StatusUrlAccessor.StatusUrlProperty, org.refcodes.rest.HomeUrlAccessor.HomeUrlProperty, org.refcodes.net.HostAccessor.HostProperty, org.refcodes.net.IpAddressAccessor.IpAddressProperty, org.refcodes.mixin.PortAccessor.PortProperty, org.refcodes.net.HttpBodyMap, EurekaDataCenterTypeAccessor.EurekaDataCenterTypeProperty, EurekaServiceStatusAccessor.EurekaServiceStatusProperty, AmazonMetaDataAccessor.AmazonMetaDataProperty
TheEurekaServerDescriptor
refines theHttpServerDescriptor
for use with an Eureka Service-Registry.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.AliasAccessor
org.refcodes.mixin.AliasAccessor.AliasBuilder<B extends org.refcodes.mixin.AliasAccessor.AliasBuilder<B>>, org.refcodes.mixin.AliasAccessor.AliasMutator, org.refcodes.mixin.AliasAccessor.AliasProperty
-
Nested classes/interfaces inherited from interface org.refcodes.rest.ext.eureka.AmazonMetaDataAccessor
AmazonMetaDataAccessor.AmazonMetaDataBuilder<B extends AmazonMetaDataAccessor.AmazonMetaDataBuilder<?>>, AmazonMetaDataAccessor.AmazonMetaDataMutator, AmazonMetaDataAccessor.AmazonMetaDataProperty
-
Nested classes/interfaces inherited from interface org.refcodes.structure.CanonicalMap
org.refcodes.structure.CanonicalMap.CanonicalMapBuilder, org.refcodes.structure.CanonicalMap.MutableCanonicalMap
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.DelimiterAccessor
org.refcodes.mixin.DelimiterAccessor.DelimiterBuilder<B extends org.refcodes.mixin.DelimiterAccessor.DelimiterBuilder<B>>, org.refcodes.mixin.DelimiterAccessor.DelimiterMutator, org.refcodes.mixin.DelimiterAccessor.DelimiterProperty
-
Nested classes/interfaces inherited from interface org.refcodes.structure.Dictionary
org.refcodes.structure.Dictionary.MutableDictionary<K extends java.lang.Object,V extends java.lang.Object>
-
Nested classes/interfaces inherited from interface org.refcodes.structure.Dictionary.MutableDictionary
org.refcodes.structure.Dictionary.MutableDictionary.DictionaryBuilder<K extends java.lang.Object,V extends java.lang.Object,B extends org.refcodes.structure.Dictionary.MutableDictionary.DictionaryBuilder<K,V,B>>
-
Nested classes/interfaces inherited from interface org.refcodes.rest.ext.eureka.EurekaDataCenterTypeAccessor
EurekaDataCenterTypeAccessor.EurekaDataCenterTypeBuilder<B extends EurekaDataCenterTypeAccessor.EurekaDataCenterTypeBuilder<?>>, EurekaDataCenterTypeAccessor.EurekaDataCenterTypeMutator, EurekaDataCenterTypeAccessor.EurekaDataCenterTypeProperty
-
Nested classes/interfaces inherited from interface org.refcodes.rest.ext.eureka.EurekaServiceStatusAccessor
EurekaServiceStatusAccessor.EurekaServiceStatusBuilder<B extends EurekaServiceStatusAccessor.EurekaServiceStatusBuilder<?>>, EurekaServiceStatusAccessor.EurekaServiceStatusMutator, EurekaServiceStatusAccessor.EurekaServiceStatusProperty
-
Nested classes/interfaces inherited from interface org.refcodes.rest.HomeUrlAccessor
org.refcodes.rest.HomeUrlAccessor.HomeUrlBuilder<B extends org.refcodes.rest.HomeUrlAccessor.HomeUrlBuilder<?>>, org.refcodes.rest.HomeUrlAccessor.HomeUrlMutator, org.refcodes.rest.HomeUrlAccessor.HomeUrlProperty
-
Nested classes/interfaces inherited from interface org.refcodes.net.HostAccessor
org.refcodes.net.HostAccessor.HostBuilder<B extends org.refcodes.net.HostAccessor.HostBuilder<?>>, org.refcodes.net.HostAccessor.HostMutator, org.refcodes.net.HostAccessor.HostProperty
-
Nested classes/interfaces inherited from interface org.refcodes.rest.HttpServerDescriptor
org.refcodes.rest.HttpServerDescriptor.HttpServerDescriptorBuilder<B extends org.refcodes.rest.HttpServerDescriptor.HttpServerDescriptorBuilder<B>>
-
Nested classes/interfaces inherited from interface org.refcodes.net.IpAddressAccessor
org.refcodes.net.IpAddressAccessor.IpAddressBuilder<B extends org.refcodes.net.IpAddressAccessor.IpAddressBuilder<B>>, org.refcodes.net.IpAddressAccessor.IpAddressMutator, org.refcodes.net.IpAddressAccessor.IpAddressProperty
-
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K extends java.lang.Object,V extends java.lang.Object>
-
Nested classes/interfaces inherited from interface org.refcodes.structure.PathMap
org.refcodes.structure.PathMap.MutablePathMap<T extends java.lang.Object>, org.refcodes.structure.PathMap.PathMapBuilder<T extends java.lang.Object>
-
Nested classes/interfaces inherited from interface org.refcodes.rest.PingUrlAccessor
org.refcodes.rest.PingUrlAccessor.PingUrlBuilder<B extends org.refcodes.rest.PingUrlAccessor.PingUrlBuilder<?>>, org.refcodes.rest.PingUrlAccessor.PingUrlMutator, org.refcodes.rest.PingUrlAccessor.PingUrlProperty
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.PortAccessor
org.refcodes.mixin.PortAccessor.PortBuilder<B extends org.refcodes.mixin.PortAccessor.PortBuilder<B>>, org.refcodes.mixin.PortAccessor.PortMutator, org.refcodes.mixin.PortAccessor.PortProperty
-
Nested classes/interfaces inherited from interface org.refcodes.structure.PropertiesAccessorMixin
org.refcodes.structure.PropertiesAccessorMixin.PropertiesBuilderMixin<T extends java.lang.Object>, org.refcodes.structure.PropertiesAccessorMixin.PropertiesMixin, org.refcodes.structure.PropertiesAccessorMixin.PropertiesMutatorMixin
-
Nested classes/interfaces inherited from interface org.refcodes.rest.StatusUrlAccessor
org.refcodes.rest.StatusUrlAccessor.StatusUrlBuilder<B extends org.refcodes.rest.StatusUrlAccessor.StatusUrlBuilder<?>>, org.refcodes.rest.StatusUrlAccessor.StatusUrlMutator, org.refcodes.rest.StatusUrlAccessor.StatusUrlProperty
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.lang.String
getAlias()
default AmazonMetaData
getAmazonMetaData()
Retrieves the Amazon Meta-Data from the Amazon Meta-Data property.default EurekaDataCenterType
getEurekaDataCenterType()
Retrieves the Eureka data center type from the Eureka data center type property.default EurekaServiceStatus
getEurekaServiceStatus()
Retrieves the Eureka service status from the Eureka service status property.default org.refcodes.net.Url
getHomeUrl()
default java.lang.String
getHost()
default int[]
getIpAddress()
default java.lang.Integer
getLeaseEvictionDurationInSecs()
Returns the length of lease - default if 90 seconds.default java.util.Map<java.lang.String,java.lang.String>
getMetaData()
Retrieves the application's Meta-Data.default org.refcodes.net.Url
getPingUrl()
default int
getPort()
default org.refcodes.net.Url
getStatusUrl()
default java.lang.String
getVirtualHost()
Retrieves the virtual host as of Eureka(?).default java.lang.String
putMetaData(java.lang.String aKey, java.lang.String aValue)
Adds a key-value pair to the application's Meta-Data.default void
setAlias(java.lang.String aAlias)
default void
setAmazonMetaData(AmazonMetaData aDataCenterType)
Sets the Amazon Meta-Data for the Amazon Meta-Data property.default void
setEurekaDataCenterType(EurekaDataCenterType aDataCenterType)
Sets the Eureka data center type for the Eureka data center type property.default void
setEurekaServiceStatus(EurekaServiceStatus aServiceStatus)
Sets the Eureka service status for the Eureka service status property.default void
setHomeUrl(org.refcodes.net.Url aUrl)
default void
setHost(java.lang.String aHost)
default void
setIpAddress(int[] aIpAddress)
default void
setLeaseEvictionDurationInSecs(java.lang.Integer aLeaseEvictionDurationInSecs)
Optional, if you want to change the length of lease - default if 90 seconds.default void
setMetaData(java.util.Map<java.lang.String,java.lang.String> aMetaData)
Sets the application's Meta-Data.default void
setPingUrl(org.refcodes.net.Url aUrl)
default void
setPort(int aPort)
default void
setStatusUrl(org.refcodes.net.Url aUrl)
default void
setVirtualHost(java.lang.String aVirtualHost)
Sets the virtual host as of Eureka(?).-
Methods inherited from interface org.refcodes.structure.CanonicalMap
toInstance, toInstance, toType, toType
-
Methods inherited from interface org.refcodes.structure.CanonicalMap.CanonicalMapBuilder
withInsert, withInsert, withInsertFrom, withInsertTo, withPutBoolean, withPutByte, withPutDouble, withPutFloat, withPutInteger, withPutLong, withPutShort, withRemoveFrom
-
Methods inherited from interface org.refcodes.structure.CanonicalMap.MutableCanonicalMap
containsValue, insert, insert, insertFrom, insertTo, put, putAll, putAll, putAll, toDump, toSourceCode, toSourceCode
-
Methods inherited from interface org.refcodes.net.HttpBodyMap
delete, getIndexed, getIndexed, getStatusAlias, getStatusCode, getStatusException, getStatusMessage, getStatusTimeStamp, hasStatusAlias, hasStatusCode, hasStatusException, hasStatusMessage, hasStatusTimeStamp, putStatusAlias, putStatusAlias, putStatusCode, putStatusCode, putStatusException, putStatusException, putStatusMessage, putStatusTimeStamp, putStatusTimeStamp, query, query, queryFrom, queryTo, retrieve, retrieveFrom, retrieveFrom, retrieveFrom, retrieveFrom, retrieveTo, retrieveTo, retrieveTo, retrieveTo, withInsert, withInsert, withInsertFrom, withInsertTo, withPut, withPut, withPutStatusAlias, withPutStatusAlias, withPutStatusCode, withPutStatusCode
-
Methods inherited from interface org.refcodes.net.IpAddressAccessor.IpAddressMutator
fromCidrNotation
-
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, entry, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, of, of, of, of, of, of, of, of, of, of, of, ofEntries, put, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Methods inherited from interface org.refcodes.structure.PathMap
children, children, children, directories, directories, directories, directories, directories, fromExternalKey, get, get, getArray, getArray, getBoolean, getBoolean, getByte, getByte, getCharacter, getCharacter, getDouble, getDouble, getFloat, getFloat, getIndexes, getIndexes, getInteger, getInteger, getLong, getLong, getRootPath, getShort, getShort, hasChildren, hasChildren, hasChildren, hasIndexed, hasIndexed, hasParentPath, isArray, isArray, isArray, isArray, isArray, isChild, isChild, isChild, isDirectory, isDirectory, isDirectory, isDirectory, isIndexed, isIndexed, isPath, isRecord, isRecord, isRecord, isRecord, isRootPath, keySet, paths, paths, paths, paths, paths, queryPaths, records, records, records, records, records, toDataStructure, toDataStructure, toExternalKey, toMap, toMap, toNormalizedPath, toNormalizedPath, toParentPath, toPath, toPath
-
Methods inherited from interface org.refcodes.structure.PathMap.MutablePathMap
insert, insert, insert, insert, insertFrom, insertFrom, insertTo, insertTo, put, putArray, putArray, remove, remove, removeAll, removeAll, removeFrom, removeFrom, removeFrom, removeFrom
-
Methods inherited from interface org.refcodes.structure.PathMap.PathMapBuilder
withInsert, withInsert, withInsertFrom, withInsertTo
-
Methods inherited from interface org.refcodes.structure.PropertiesAccessorMixin
asArray, asArray, asArray, asArray, asArray, asArray, asBooleanArray, asBooleanArray, asBooleanArray, asBooleanArray, asBooleanArray, asBooleanArray, asByteArray, asByteArray, asByteArray, asByteArray, asByteArray, asByteArray, asCharacterArray, asCharacterArray, asCharacterArray, asCharacterArray, asCharacterArray, asCharacterArray, asDoubleArray, asDoubleArray, asDoubleArray, asDoubleArray, asDoubleArray, asDoubleArray, asFloatArray, asFloatArray, asFloatArray, asFloatArray, asFloatArray, asFloatArray, asIntegerArray, asIntegerArray, asIntegerArray, asIntegerArray, asIntegerArray, asIntegerArray, asLongArray, asLongArray, asLongArray, asLongArray, asLongArray, asLongArray, asShortArray, asShortArray, asShortArray, asShortArray, asShortArray, asShortArray, containsKey, get, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getCharacter, getCharacter, getCharacter, getDouble, getDouble, getDouble, getFloat, getFloat, getFloat, getInteger, getInteger, getInteger, getLong, getLong, getLong, getShort, getShort, getShort, use, useBoolean, useBoolean, useByte, useByte, useDouble, useDouble, useFloat, useFloat, useInteger, useInteger, useLong, useLong, useShort, useShort
-
Methods inherited from interface org.refcodes.structure.PropertiesAccessorMixin.PropertiesBuilderMixin
withPut
-
-
-
-
Method Detail
-
getLeaseEvictionDurationInSecs
default java.lang.Integer getLeaseEvictionDurationInSecs()
Returns the length of lease - default if 90 seconds.- Returns:
- The lease eviction duration in seconds.
-
setLeaseEvictionDurationInSecs
default void setLeaseEvictionDurationInSecs(java.lang.Integer aLeaseEvictionDurationInSecs)
Optional, if you want to change the length of lease - default if 90 seconds.- Parameters:
aLeaseEvictionDurationInSecs
- The lease eviction duration in seconds.
-
getAlias
default java.lang.String getAlias()
- Specified by:
getAlias
in interfaceorg.refcodes.mixin.AliasAccessor
-
setAlias
default void setAlias(java.lang.String aAlias)
- Specified by:
setAlias
in interfaceorg.refcodes.mixin.AliasAccessor.AliasMutator
-
getPingUrl
default org.refcodes.net.Url getPingUrl()
- Specified by:
getPingUrl
in interfaceorg.refcodes.rest.PingUrlAccessor
-
setPingUrl
default void setPingUrl(org.refcodes.net.Url aUrl)
- Specified by:
setPingUrl
in interfaceorg.refcodes.rest.PingUrlAccessor.PingUrlMutator
-
getStatusUrl
default org.refcodes.net.Url getStatusUrl()
- Specified by:
getStatusUrl
in interfaceorg.refcodes.rest.StatusUrlAccessor
-
setStatusUrl
default void setStatusUrl(org.refcodes.net.Url aUrl)
- Specified by:
setStatusUrl
in interfaceorg.refcodes.rest.StatusUrlAccessor.StatusUrlMutator
-
getHomeUrl
default org.refcodes.net.Url getHomeUrl()
- Specified by:
getHomeUrl
in interfaceorg.refcodes.rest.HomeUrlAccessor
-
setHomeUrl
default void setHomeUrl(org.refcodes.net.Url aUrl)
- Specified by:
setHomeUrl
in interfaceorg.refcodes.rest.HomeUrlAccessor.HomeUrlMutator
-
getHost
default java.lang.String getHost()
- Specified by:
getHost
in interfaceorg.refcodes.net.HostAccessor
-
setHost
default void setHost(java.lang.String aHost)
- Specified by:
setHost
in interfaceorg.refcodes.net.HostAccessor.HostMutator
-
getPort
default int getPort()
- Specified by:
getPort
in interfaceorg.refcodes.mixin.PortAccessor
-
setPort
default void setPort(int aPort)
- Specified by:
setPort
in interfaceorg.refcodes.mixin.PortAccessor.PortMutator
-
getIpAddress
default int[] getIpAddress()
- Specified by:
getIpAddress
in interfaceorg.refcodes.net.IpAddressAccessor
-
setIpAddress
default void setIpAddress(int[] aIpAddress)
- Specified by:
setIpAddress
in interfaceorg.refcodes.net.IpAddressAccessor.IpAddressMutator
-
getVirtualHost
default java.lang.String getVirtualHost()
Retrieves the virtual host as of Eureka(?).- Returns:
- The virtual host.
-
setVirtualHost
default void setVirtualHost(java.lang.String aVirtualHost)
Sets the virtual host as of Eureka(?).- Parameters:
aVirtualHost
- The virtual host.
-
getEurekaDataCenterType
default EurekaDataCenterType getEurekaDataCenterType()
Retrieves the Eureka data center type from the Eureka data center type property.- Specified by:
getEurekaDataCenterType
in interfaceEurekaDataCenterTypeAccessor
- Returns:
- The Eureka data center type stored by the Eureka data center type property.
-
setEurekaDataCenterType
default void setEurekaDataCenterType(EurekaDataCenterType aDataCenterType)
Sets the Eureka data center type for the Eureka data center type property.- Specified by:
setEurekaDataCenterType
in interfaceEurekaDataCenterTypeAccessor.EurekaDataCenterTypeMutator
- Parameters:
aDataCenterType
- The Eureka data center type to be stored by the Eureka data center type property.
-
getAmazonMetaData
default AmazonMetaData getAmazonMetaData()
Retrieves the Amazon Meta-Data from the Amazon Meta-Data property.- Specified by:
getAmazonMetaData
in interfaceAmazonMetaDataAccessor
- Returns:
- The Amazon Meta-Data stored by the Amazon Meta-Data property.
-
setAmazonMetaData
default void setAmazonMetaData(AmazonMetaData aDataCenterType)
Sets the Amazon Meta-Data for the Amazon Meta-Data property.- Specified by:
setAmazonMetaData
in interfaceAmazonMetaDataAccessor.AmazonMetaDataMutator
- Parameters:
aDataCenterType
- The Amazon Meta-Data to be stored by the Amazon Meta-Data property.
-
getEurekaServiceStatus
default EurekaServiceStatus getEurekaServiceStatus()
Retrieves the Eureka service status from the Eureka service status property.- Specified by:
getEurekaServiceStatus
in interfaceEurekaServiceStatusAccessor
- Returns:
- The Eureka service status stored by the Eureka service status property.
-
setEurekaServiceStatus
default void setEurekaServiceStatus(EurekaServiceStatus aServiceStatus)
Sets the Eureka service status for the Eureka service status property.- Specified by:
setEurekaServiceStatus
in interfaceEurekaServiceStatusAccessor.EurekaServiceStatusMutator
- Parameters:
aServiceStatus
- The Eureka service status to be stored by the Eureka service status property.
-
getMetaData
default java.util.Map<java.lang.String,java.lang.String> getMetaData()
Retrieves the application's Meta-Data.- Returns:
- The
Map
representing the applications's Meta-Data.
-
setMetaData
default void setMetaData(java.util.Map<java.lang.String,java.lang.String> aMetaData)
Sets the application's Meta-Data.- Parameters:
aMetaData
- TheMap
representing the applications's Meta-Data.
-
putMetaData
default java.lang.String putMetaData(java.lang.String aKey, java.lang.String aValue)
Adds a key-value pair to the application's Meta-Data.- Parameters:
aKey
- The Key of the Meta-Data entry.aValue
- The value for the Meta-Data entry.- Returns:
- The previously set value for the given Meta-Data entry or null if none was set before.
-
-