case class LabelledGroup[T](underlying: Group[T], name: String) extends Group[T] with Product with Serializable
A mixin trait to assign a
to the group. This is used
to assign labels to groups that ascribe meaning to them.
name
- Annotations
- @deprecated
- Deprecated
(Since version 6.7.x) Use
com.twitter.finagle.Name
to represent clusters instead
- Alphabetic
- By Inheritance
- LabelledGroup
- Serializable
- Serializable
- Product
- Equals
- Group
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: Group[T]): Group[T]
- Definition Classes
- Group
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
apply(): Set[T]
- Definition Classes
- Group
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
collect[U](f: PartialFunction[T, U]): Group[U]
Create a new group by collecting each element of this group with
f
.Create a new group by collecting each element of this group with
f
.f
is guaranteed to be invoked exactly once for each element of the group, even for dynamic groups.- Definition Classes
- Group
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
map[U](f: (T) ⇒ U): Group[U]
Create a new group by mapping each element of this group with
f
.Create a new group by mapping each element of this group with
f
.f
is guaranteed to be invoked exactly once for each element of the groups, even for dynamic groups.- Definition Classes
- Group
-
final
def
members: Set[T]
The current members of this group.
The current members of this group. If the group has not changed, the same object is returned. This allows a simple object identity check to be performed to see if the Group has been updated.
- Definition Classes
- Group
- val name: String
-
def
named(n: String): Group[T]
Name the group
n
. -
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
lazy val
ref: AtomicReference[Set[T]]
- Attributes
- protected[com.twitter.finagle]
- Definition Classes
- Group
-
lazy val
set: Var[Set[T]]
- Attributes
- protected[com.twitter.finagle]
- Definition Classes
- LabelledGroup → Group
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Group → AnyRef → Any
- val underlying: Group[T]
-
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
- @throws( ... )