keycloak
公開メンバ関数 | 静的非公開変数類 | 全メンバ一覧
org.keycloak.models.cache.infinispan.events.ClientRemovedEvent.ExternalizerImpl クラス
org.keycloak.models.cache.infinispan.events.ClientRemovedEvent.ExternalizerImpl の継承関係図
Inheritance graph
org.keycloak.models.cache.infinispan.events.ClientRemovedEvent.ExternalizerImpl 連携図
Collaboration graph

公開メンバ関数

void writeObject (ObjectOutput output, ClientRemovedEvent obj) throws IOException
 
ClientRemovedEvent readObject (ObjectInput input) throws IOException, ClassNotFoundException
 
ClientRemovedEvent readObjectVersion1 (ObjectInput input) throws IOException, ClassNotFoundException
 

静的非公開変数類

static final int VERSION_1 = 1
 

詳解

関数詳解

◆ readObject()

ClientRemovedEvent org.keycloak.models.cache.infinispan.events.ClientRemovedEvent.ExternalizerImpl.readObject ( ObjectInput  input) throws IOException, ClassNotFoundException
inline
99  {
100  switch (input.readByte()) {
101  case VERSION_1:
102  return readObjectVersion1(input);
103  default:
104  throw new IOException("Unknown version");
105  }
106  }
ClientRemovedEvent readObjectVersion1(ObjectInput input)
Definition: ClientRemovedEvent.java:108
static final int VERSION_1
Definition: ClientRemovedEvent.java:86

◆ readObjectVersion1()

ClientRemovedEvent org.keycloak.models.cache.infinispan.events.ClientRemovedEvent.ExternalizerImpl.readObjectVersion1 ( ObjectInput  input) throws IOException, ClassNotFoundException
inline
108  {
109  ClientRemovedEvent res = new ClientRemovedEvent();
110  res.clientUuid = MarshallUtil.unmarshallString(input);
111  res.clientId = MarshallUtil.unmarshallString(input);
112  res.realmId = MarshallUtil.unmarshallString(input);
113  res.clientRoles = KeycloakMarshallUtil.readMap(input, KeycloakMarshallUtil.STRING_EXT, KeycloakMarshallUtil.STRING_EXT,
114  size -> new ConcurrentHashMap<>(size));
115 
116  return res;
117  }

◆ writeObject()

void org.keycloak.models.cache.infinispan.events.ClientRemovedEvent.ExternalizerImpl.writeObject ( ObjectOutput  output,
ClientRemovedEvent  obj 
) throws IOException
inline
89  {
90  output.writeByte(VERSION_1);
91 
92  MarshallUtil.marshallString(obj.clientUuid, output);
93  MarshallUtil.marshallString(obj.clientId, output);
94  MarshallUtil.marshallString(obj.realmId, output);
95  KeycloakMarshallUtil.writeMap(obj.clientRoles, KeycloakMarshallUtil.STRING_EXT, KeycloakMarshallUtil.STRING_EXT, output);
96  }
static final int VERSION_1
Definition: ClientRemovedEvent.java:86

メンバ詳解

◆ VERSION_1

final int org.keycloak.models.cache.infinispan.events.ClientRemovedEvent.ExternalizerImpl.VERSION_1 = 1
staticprivate

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