public abstract class KmsManager extends Object implements KurentoClientProvider
| Modifier and Type | Class and Description |
|---|---|
static class |
KmsManager.KmsLoad |
| Constructor and Description |
|---|
KmsManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
addKms(Kms kms) |
boolean |
destroyWhenUnused() |
Kms |
getKms(DefaultKurentoClientSessionInfo sessionInfo)
Returns a
Kms using a round-robin strategy. |
List<KmsManager.KmsLoad> |
getKmssSortedByLoad() |
org.kurento.client.KurentoClient |
getKurentoClient(KurentoClientSessionInfo sessionInfo) |
Kms |
getLessLoadedKms() |
Kms |
getNextLessLoadedKms() |
public org.kurento.client.KurentoClient getKurentoClient(KurentoClientSessionInfo sessionInfo) throws RoomException
getKurentoClient in interface KurentoClientProviderRoomExceptionpublic Kms getKms(DefaultKurentoClientSessionInfo sessionInfo)
Kms using a round-robin strategy.sessionInfo - session's idpublic void addKms(Kms kms)
public Kms getLessLoadedKms()
public Kms getNextLessLoadedKms()
public List<KmsManager.KmsLoad> getKmssSortedByLoad()
public boolean destroyWhenUnused()
destroyWhenUnused in interface KurentoClientProviderCopyright © 2016 Kurento. All rights reserved.