keycloak-federation
公開メンバ関数 | 非公開変数類 | 全メンバ一覧
org.freedesktop.dbus.AbstractConnection._workerthread クラス
org.freedesktop.dbus.AbstractConnection._workerthread の継承関係図
Inheritance graph
org.freedesktop.dbus.AbstractConnection._workerthread 連携図
Collaboration graph

公開メンバ関数

void halt ()
 
void run ()
 

非公開変数類

boolean _run = true
 

詳解

関数詳解

◆ halt()

void org.freedesktop.dbus.AbstractConnection._workerthread.halt ( )
inline
160  {
161  _run = false;
162  }
boolean _run
Definition: AbstractConnection.java:158

◆ run()

void org.freedesktop.dbus.AbstractConnection._workerthread.run ( )
inline
164  {
165  while (_run) {
166  Runnable r = null;
167  synchronized (runnables) {
168  while (runnables.size() == 0 && _run)
169  try {
170  runnables.wait();
171  } catch (InterruptedException Ie) {
172  }
173  if (runnables.size() > 0)
174  r = runnables.removeFirst();
175  }
176  if (null != r) r.run();
177  }
178  }
boolean _run
Definition: AbstractConnection.java:158
LinkedList< Runnable > runnables
Definition: AbstractConnection.java:248

メンバ詳解

◆ _run

boolean org.freedesktop.dbus.AbstractConnection._workerthread._run = true
private

このクラス詳解は次のファイルから抽出されました: