public interface Member
Modifier and Type | Method and Description |
---|---|
<T> Optional<T> |
getConnectionEndpoint(Class<T> protocol)
Get the endpoint of this Member given a
protocol . |
boolean |
local() |
String |
name()
Returns the name of this Member.
|
void |
suspect()
Mark this member as suspect, i.e.
|
String name()
<T> Optional<T> getConnectionEndpoint(Class<T> protocol)
protocol
. Returns an empty optional if the protocol is not a
supported endpoint of this member.T
- the protocol typeprotocol
- the expectedboolean local()
void suspect()
Copyright © 2010–2024. All rights reserved.