| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (1.8.0_121) on Wed Feb 08 21:18:55 NOVT 2017 --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>DatabaseStore (Openmeetings Core 3.2.0 API)</title> |
| <meta name="date" content="2017-02-08"> |
| <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../../../../script.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="DatabaseStore (Openmeetings Core 3.2.0 API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/DatabaseStore.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li>Prev Class</li> |
| <li><a href="../../../../../../org/apache/openmeetings/core/session/store/HashMapStore.html" title="class in org.apache.openmeetings.core.session.store"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../../index.html?org/apache/openmeetings/core/session/store/DatabaseStore.html" target="_top">Frames</a></li> |
| <li><a href="DatabaseStore.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.apache.openmeetings.core.session.store</div> |
| <h2 title="Class DatabaseStore" class="title">Class DatabaseStore</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.openmeetings.core.session.store.DatabaseStore</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><a href="../../../../../../org/apache/openmeetings/core/session/store/IClientPersistenceStore.html" title="interface in org.apache.openmeetings.core.session.store">IClientPersistenceStore</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public class <span class="typeNameLabel">DatabaseStore</span> |
| extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> |
| implements <a href="../../../../../../org/apache/openmeetings/core/session/store/IClientPersistenceStore.html" title="interface in org.apache.openmeetings.core.session.store">IClientPersistenceStore</a></pre> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested.class.summary"> |
| <!-- --> |
| </a> |
| <h3>Nested Class Summary</h3> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested.classes.inherited.from.class.org.apache.openmeetings.core.session.store.IClientPersistenceStore"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from interface org.apache.openmeetings.core.session.store.<a href="../../../../../../org/apache/openmeetings/core/session/store/IClientPersistenceStore.html" title="interface in org.apache.openmeetings.core.session.store">IClientPersistenceStore</a></h3> |
| <code><a href="../../../../../../org/apache/openmeetings/core/session/store/IClientPersistenceStore.DEBUG_DETAILS.html" title="enum in org.apache.openmeetings.core.session.store">IClientPersistenceStore.DEBUG_DETAILS</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openmeetings/core/session/store/DatabaseStore.html#DatabaseStore--">DatabaseStore</a></span>()</code> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openmeetings/core/session/store/DatabaseStore.html#clear--">clear</a></span>()</code> |
| <div class="block">called upon start of the session cache</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openmeetings/core/session/store/DatabaseStore.html#containsKey-org.apache.openmeetings.db.entity.server.Server-java.lang.String-">containsKey</a></span>(org.apache.openmeetings.db.entity.server.Server server, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> streamId)</code> </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>org.apache.openmeetings.db.entity.room.Client</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openmeetings/core/session/store/DatabaseStore.html#get-org.apache.openmeetings.db.entity.server.Server-java.lang.String-">get</a></span>(org.apache.openmeetings.db.entity.server.Server server, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> streamId)</code> |
| <div class="block">by server and publicSID</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><org.apache.openmeetings.db.entity.room.Client></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openmeetings/core/session/store/DatabaseStore.html#getClients--">getClients</a></span>()</code> </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.apache.openmeetings.db.entity.room.Client></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openmeetings/core/session/store/DatabaseStore.html#getClientsByPublicSID-org.apache.openmeetings.db.entity.server.Server-java.lang.String-">getClientsByPublicSID</a></span>(org.apache.openmeetings.db.entity.server.Server server, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> publicSID)</code> </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.apache.openmeetings.db.entity.room.Client>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openmeetings/core/session/store/DatabaseStore.html#getClientsByPublicSID-java.lang.String-">getClientsByPublicSID</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> publicSID)</code> |
| <div class="block">Searches for the publicSID across all servers</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.apache.openmeetings.db.entity.room.Client></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openmeetings/core/session/store/DatabaseStore.html#getClientsByRoomId-java.lang.Long-">getClientsByRoomId</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a> roomId)</code> |
| <div class="block">We ignore the server here, cause ONE room can only be on ONE server and often we don't know where.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><org.apache.openmeetings.db.entity.room.Client></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openmeetings/core/session/store/DatabaseStore.html#getClientsByServer-org.apache.openmeetings.db.entity.server.Server-">getClientsByServer</a></span>(org.apache.openmeetings.db.entity.server.Server server)</code> |
| <div class="block">get all clients by a specific <code>Server</code></div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.apache.openmeetings.db.entity.room.Client></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openmeetings/core/session/store/DatabaseStore.html#getClientsByUserId-org.apache.openmeetings.db.entity.server.Server-java.lang.Long-">getClientsByUserId</a></span>(org.apache.openmeetings.db.entity.server.Server server, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a> userId)</code> </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><org.apache.openmeetings.db.entity.room.Client></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openmeetings/core/session/store/DatabaseStore.html#getClientsWithServer--">getClientsWithServer</a></span>()</code> |
| <div class="block">if database cache + cluster is enabled, the server object will be loaded |
| into the client</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openmeetings/core/session/store/DatabaseStore.html#getDebugInformation-java.util.List-">getDebugInformation</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/openmeetings/core/session/store/IClientPersistenceStore.DEBUG_DETAILS.html" title="enum in org.apache.openmeetings.core.session.store">IClientPersistenceStore.DEBUG_DETAILS</a>> detailLevel)</code> |
| <div class="block">Get some session statistics</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openmeetings/core/session/store/DatabaseStore.html#getRoomsIdsByServer-org.apache.openmeetings.db.entity.server.Server-">getRoomsIdsByServer</a></span>(org.apache.openmeetings.db.entity.server.Server server)</code> |
| <div class="block">returns a list of roomIds (unique) that are currently active on the given server |
| In case the session is stored in the memory (no-cluster setup) it will always |
| return simply all active roomIds</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openmeetings/core/session/store/DatabaseStore.html#put-java.lang.String-org.apache.openmeetings.db.entity.room.Client-">put</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> streamId, |
| org.apache.openmeetings.db.entity.room.Client rcl)</code> </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openmeetings/core/session/store/DatabaseStore.html#remove-org.apache.openmeetings.db.entity.server.Server-java.lang.String-">remove</a></span>(org.apache.openmeetings.db.entity.server.Server server, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> streamId)</code> </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openmeetings/core/session/store/DatabaseStore.html#size--">size</a></span>()</code> </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openmeetings/core/session/store/DatabaseStore.html#sizeByServer-org.apache.openmeetings.db.entity.server.Server-">sizeByServer</a></span>(org.apache.openmeetings.db.entity.server.Server server)</code> </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><org.apache.openmeetings.db.entity.room.Client></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openmeetings/core/session/store/DatabaseStore.html#values--">values</a></span>()</code> </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="DatabaseStore--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>DatabaseStore</h4> |
| <pre>public DatabaseStore()</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="clear--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clear</h4> |
| <pre>public void clear()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/openmeetings/core/session/store/IClientPersistenceStore.html#clear--">IClientPersistenceStore</a></code></span></div> |
| <div class="block">called upon start of the session cache</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/openmeetings/core/session/store/IClientPersistenceStore.html#clear--">clear</a></code> in interface <code><a href="../../../../../../org/apache/openmeetings/core/session/store/IClientPersistenceStore.html" title="interface in org.apache.openmeetings.core.session.store">IClientPersistenceStore</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="put-java.lang.String-org.apache.openmeetings.db.entity.room.Client-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>put</h4> |
| <pre>public void put(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> streamId, |
| org.apache.openmeetings.db.entity.room.Client rcl)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/openmeetings/core/session/store/IClientPersistenceStore.html#put-java.lang.String-org.apache.openmeetings.db.entity.room.Client-">put</a></code> in interface <code><a href="../../../../../../org/apache/openmeetings/core/session/store/IClientPersistenceStore.html" title="interface in org.apache.openmeetings.core.session.store">IClientPersistenceStore</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="containsKey-org.apache.openmeetings.db.entity.server.Server-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>containsKey</h4> |
| <pre>public boolean containsKey(org.apache.openmeetings.db.entity.server.Server server, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> streamId)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/openmeetings/core/session/store/IClientPersistenceStore.html#containsKey-org.apache.openmeetings.db.entity.server.Server-java.lang.String-">containsKey</a></code> in interface <code><a href="../../../../../../org/apache/openmeetings/core/session/store/IClientPersistenceStore.html" title="interface in org.apache.openmeetings.core.session.store">IClientPersistenceStore</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| </dl> |
| </li> |
| </ul> |
| <a name="get-org.apache.openmeetings.db.entity.server.Server-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>get</h4> |
| <pre>public org.apache.openmeetings.db.entity.room.Client get(org.apache.openmeetings.db.entity.server.Server server, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> streamId)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/openmeetings/core/session/store/IClientPersistenceStore.html#get-org.apache.openmeetings.db.entity.server.Server-java.lang.String-">IClientPersistenceStore</a></code></span></div> |
| <div class="block">by server and publicSID</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/openmeetings/core/session/store/IClientPersistenceStore.html#get-org.apache.openmeetings.db.entity.server.Server-java.lang.String-">get</a></code> in interface <code><a href="../../../../../../org/apache/openmeetings/core/session/store/IClientPersistenceStore.html" title="interface in org.apache.openmeetings.core.session.store">IClientPersistenceStore</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>will return null if the client does not exist in the list</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getClientsByPublicSID-org.apache.openmeetings.db.entity.server.Server-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getClientsByPublicSID</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.apache.openmeetings.db.entity.room.Client> getClientsByPublicSID(org.apache.openmeetings.db.entity.server.Server server, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> publicSID)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/openmeetings/core/session/store/IClientPersistenceStore.html#getClientsByPublicSID-org.apache.openmeetings.db.entity.server.Server-java.lang.String-">getClientsByPublicSID</a></code> in interface <code><a href="../../../../../../org/apache/openmeetings/core/session/store/IClientPersistenceStore.html" title="interface in org.apache.openmeetings.core.session.store">IClientPersistenceStore</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>will return an empty list if nothing available</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getClientsByPublicSID-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getClientsByPublicSID</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.apache.openmeetings.db.entity.room.Client>> getClientsByPublicSID(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> publicSID)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/openmeetings/core/session/store/IClientPersistenceStore.html#getClientsByPublicSID-java.lang.String-">IClientPersistenceStore</a></code></span></div> |
| <div class="block">Searches for the publicSID across all servers</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/openmeetings/core/session/store/IClientPersistenceStore.html#getClientsByPublicSID-java.lang.String-">getClientsByPublicSID</a></code> in interface <code><a href="../../../../../../org/apache/openmeetings/core/session/store/IClientPersistenceStore.html" title="interface in org.apache.openmeetings.core.session.store">IClientPersistenceStore</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>will return a map with the serverId as key and the RoomClients as list in the value</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getClients--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getClients</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><org.apache.openmeetings.db.entity.room.Client> getClients()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/openmeetings/core/session/store/IClientPersistenceStore.html#getClients--">getClients</a></code> in interface <code><a href="../../../../../../org/apache/openmeetings/core/session/store/IClientPersistenceStore.html" title="interface in org.apache.openmeetings.core.session.store">IClientPersistenceStore</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getClientsWithServer--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getClientsWithServer</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><org.apache.openmeetings.db.entity.room.Client> getClientsWithServer()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/openmeetings/core/session/store/IClientPersistenceStore.html#getClientsWithServer--">IClientPersistenceStore</a></code></span></div> |
| <div class="block">if database cache + cluster is enabled, the server object will be loaded |
| into the client</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/openmeetings/core/session/store/IClientPersistenceStore.html#getClientsWithServer--">getClientsWithServer</a></code> in interface <code><a href="../../../../../../org/apache/openmeetings/core/session/store/IClientPersistenceStore.html" title="interface in org.apache.openmeetings.core.session.store">IClientPersistenceStore</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| </dl> |
| </li> |
| </ul> |
| <a name="getClientsByServer-org.apache.openmeetings.db.entity.server.Server-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getClientsByServer</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><org.apache.openmeetings.db.entity.room.Client> getClientsByServer(org.apache.openmeetings.db.entity.server.Server server)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/openmeetings/core/session/store/IClientPersistenceStore.html#getClientsByServer-org.apache.openmeetings.db.entity.server.Server-">IClientPersistenceStore</a></code></span></div> |
| <div class="block">get all clients by a specific <code>Server</code></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/openmeetings/core/session/store/IClientPersistenceStore.html#getClientsByServer-org.apache.openmeetings.db.entity.server.Server-">getClientsByServer</a></code> in interface <code><a href="../../../../../../org/apache/openmeetings/core/session/store/IClientPersistenceStore.html" title="interface in org.apache.openmeetings.core.session.store">IClientPersistenceStore</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>will return an empty map if nothing available</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getClientsByUserId-org.apache.openmeetings.db.entity.server.Server-java.lang.Long-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getClientsByUserId</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.apache.openmeetings.db.entity.room.Client> getClientsByUserId(org.apache.openmeetings.db.entity.server.Server server, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a> userId)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/openmeetings/core/session/store/IClientPersistenceStore.html#getClientsByUserId-org.apache.openmeetings.db.entity.server.Server-java.lang.Long-">getClientsByUserId</a></code> in interface <code><a href="../../../../../../org/apache/openmeetings/core/session/store/IClientPersistenceStore.html" title="interface in org.apache.openmeetings.core.session.store">IClientPersistenceStore</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>will return an empty list if nothing available</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getClientsByRoomId-java.lang.Long-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getClientsByRoomId</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.apache.openmeetings.db.entity.room.Client> getClientsByRoomId(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a> roomId)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/openmeetings/core/session/store/IClientPersistenceStore.html#getClientsByRoomId-java.lang.Long-">IClientPersistenceStore</a></code></span></div> |
| <div class="block">We ignore the server here, cause ONE room can only be on ONE server and often we don't know where.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/openmeetings/core/session/store/IClientPersistenceStore.html#getClientsByRoomId-java.lang.Long-">getClientsByRoomId</a></code> in interface <code><a href="../../../../../../org/apache/openmeetings/core/session/store/IClientPersistenceStore.html" title="interface in org.apache.openmeetings.core.session.store">IClientPersistenceStore</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>will return an empty map if nothing available</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="remove-org.apache.openmeetings.db.entity.server.Server-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>remove</h4> |
| <pre>public void remove(org.apache.openmeetings.db.entity.server.Server server, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> streamId)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/openmeetings/core/session/store/IClientPersistenceStore.html#remove-org.apache.openmeetings.db.entity.server.Server-java.lang.String-">remove</a></code> in interface <code><a href="../../../../../../org/apache/openmeetings/core/session/store/IClientPersistenceStore.html" title="interface in org.apache.openmeetings.core.session.store">IClientPersistenceStore</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="size--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>size</h4> |
| <pre>public int size()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/openmeetings/core/session/store/IClientPersistenceStore.html#size--">size</a></code> in interface <code><a href="../../../../../../org/apache/openmeetings/core/session/store/IClientPersistenceStore.html" title="interface in org.apache.openmeetings.core.session.store">IClientPersistenceStore</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="sizeByServer-org.apache.openmeetings.db.entity.server.Server-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sizeByServer</h4> |
| <pre>public int sizeByServer(org.apache.openmeetings.db.entity.server.Server server)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/openmeetings/core/session/store/IClientPersistenceStore.html#sizeByServer-org.apache.openmeetings.db.entity.server.Server-">sizeByServer</a></code> in interface <code><a href="../../../../../../org/apache/openmeetings/core/session/store/IClientPersistenceStore.html" title="interface in org.apache.openmeetings.core.session.store">IClientPersistenceStore</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="values--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>values</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><org.apache.openmeetings.db.entity.room.Client> values()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/openmeetings/core/session/store/IClientPersistenceStore.html#values--">values</a></code> in interface <code><a href="../../../../../../org/apache/openmeetings/core/session/store/IClientPersistenceStore.html" title="interface in org.apache.openmeetings.core.session.store">IClientPersistenceStore</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getDebugInformation-java.util.List-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDebugInformation</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getDebugInformation(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/openmeetings/core/session/store/IClientPersistenceStore.DEBUG_DETAILS.html" title="enum in org.apache.openmeetings.core.session.store">IClientPersistenceStore.DEBUG_DETAILS</a>> detailLevel)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/openmeetings/core/session/store/IClientPersistenceStore.html#getDebugInformation-java.util.List-">IClientPersistenceStore</a></code></span></div> |
| <div class="block">Get some session statistics</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/openmeetings/core/session/store/IClientPersistenceStore.html#getDebugInformation-java.util.List-">getDebugInformation</a></code> in interface <code><a href="../../../../../../org/apache/openmeetings/core/session/store/IClientPersistenceStore.html" title="interface in org.apache.openmeetings.core.session.store">IClientPersistenceStore</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| </dl> |
| </li> |
| </ul> |
| <a name="getRoomsIdsByServer-org.apache.openmeetings.db.entity.server.Server-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>getRoomsIdsByServer</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>> getRoomsIdsByServer(org.apache.openmeetings.db.entity.server.Server server)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/openmeetings/core/session/store/IClientPersistenceStore.html#getRoomsIdsByServer-org.apache.openmeetings.db.entity.server.Server-">IClientPersistenceStore</a></code></span></div> |
| <div class="block">returns a list of roomIds (unique) that are currently active on the given server |
| In case the session is stored in the memory (no-cluster setup) it will always |
| return simply all active roomIds</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/openmeetings/core/session/store/IClientPersistenceStore.html#getRoomsIdsByServer-org.apache.openmeetings.db.entity.server.Server-">getRoomsIdsByServer</a></code> in interface <code><a href="../../../../../../org/apache/openmeetings/core/session/store/IClientPersistenceStore.html" title="interface in org.apache.openmeetings.core.session.store">IClientPersistenceStore</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/DatabaseStore.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li>Prev Class</li> |
| <li><a href="../../../../../../org/apache/openmeetings/core/session/store/HashMapStore.html" title="class in org.apache.openmeetings.core.session.store"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../../index.html?org/apache/openmeetings/core/session/store/DatabaseStore.html" target="_top">Frames</a></li> |
| <li><a href="DatabaseStore.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 2012–2017 <a href="http://apache.org">Apache Software Foundation</a>. All rights reserved.</small></p> |
| </body> |
| </html> |