class EphemeralPeerRepository : PeerRepository
(source)
In-memory peer repository.
<init> |
In-memory peer repository. EphemeralPeerRepository() |
addEager |
fun addEager(peer: Peer!): Unit |
considerNewPeer |
fun considerNewPeer(peer: Peer!): Unit |
eagerPushPeers |
fun eagerPushPeers(): MutableCollection<Peer!>! |
lazyPushPeers |
fun lazyPushPeers(): MutableCollection<Peer!>! |
moveToEager |
fun moveToEager(peer: Peer!): Unit |
moveToLazy |
fun moveToLazy(peer: Peer!): Boolean |
peers |
fun peers(): MutableList<Peer!>! |
removePeer |
fun removePeer(peer: Peer!): Unit |