open class MultiServerUserRegistry : SimpUserRegistry, SmartApplicationListener
SimpUserRegistry that looks up users in a "local" user registry as well as a set of "remote" user registries. The local registry is provided as a constructor argument while remote registries are updated via broadcasts handled by UserRegistryMessageHandler which in turn notifies this registry when updates are received.
Author
Rossen Stoyanchev
Since
4.2
MultiServerUserRegistry(localRegistry: SimpUserRegistry)
Create an instance wrapping the local user registry. |
open fun findSubscriptions(matcher: SimpSubscriptionMatcher): MutableSet<SimpSubscription> |
|
open fun getOrder(): Int |
|
open fun getUser(userName: String): SimpUser |
|
open fun getUserCount(): Int |
|
open fun getUsers(): MutableSet<SimpUser> |
|
open fun onApplicationEvent(event: ApplicationEvent): Unit |
|
open fun supportsEventType(eventType: Class<out ApplicationEvent>): Boolean |
|
open fun supportsSourceType(sourceType: Class<*>): Boolean |
|
open fun toString(): String |