keycloak
公開メンバ関数 | 公開変数類 | 全メンバ一覧
列挙 org.keycloak.models.sessions.infinispan.changes.SessionUpdateTask< S extends SessionEntity >.CacheOperation 詳解
org.keycloak.models.sessions.infinispan.changes.SessionUpdateTask< S extends SessionEntity >.CacheOperation 連携図
Collaboration graph

公開メンバ関数

CacheOperation merge (CacheOperation other, SessionEntity entity)
 

公開変数類

 ADD
 
 ADD_IF_ABSENT
 
 REMOVE
 

詳解

関数詳解

◆ merge()

45  {
46  if (this == REMOVE || other == REMOVE) {
47  return REMOVE;
48  }
49 
50  if (this == ADD | this == ADD_IF_ABSENT) {
51  if (other == ADD | other == ADD_IF_ABSENT) {
52  throw new IllegalStateException("Illegal state. Task already in progress for session " + entity.toString());
53  }
54 
55  return this;
56  }
57 
58  // Lowest priority
59  return REPLACE;
60  }

メンバ詳解

◆ ADD

◆ ADD_IF_ABSENT

◆ REMOVE


次のファイルからこの列挙についての詳解を抽出しました: