object Addr
Note: There is a Java-friendly API for this object: com.twitter.finagle.Addrs.
- Alphabetic
- By Inheritance
- Addr
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
case class
Bound(addrs: Set[Address], metadata: Metadata) extends Addr with Product with Serializable
A bound name.
A bound name. The object is replicated at each of the given endpoint addresses.
Bound addresses include an arbitrary Map of metadata that Namers or Resolvers may set to provide additional configuration (e.g. geographical information) to client stacks.
Note: This currently protects the underlying addresses from access since we want to add partially resolved addresses in the future. At this point, the API will be fixed.
-
case class
Failed(cause: Throwable) extends Addr with Product with Serializable
The address is failed: binding failed with the given cause.
-
type
Metadata = Map[String, Any]
Address metadata
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- object Bound extends Serializable
- object Failed extends Serializable
- object Metadata
-
object
Neg extends Addr
A negative address: the name could not be bound.
-
object
Pending extends Addr
The binding action is still pending.