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

公開メンバ関数

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

静的非公開変数類

static final int VERSION_1 = 1
 

詳解

関数詳解

◆ readObject()

WrapperClusterEvent org.keycloak.cluster.infinispan.WrapperClusterEvent.ExternalizerImpl.readObject ( ObjectInput  input) throws IOException, ClassNotFoundException
inline
112  {
113  switch (input.readByte()) {
114  case VERSION_1:
115  return readObjectVersion1(input);
116  default:
117  throw new IOException("Unknown version");
118  }
119  }
WrapperClusterEvent readObjectVersion1(ObjectInput input)
Definition: WrapperClusterEvent.java:121
static final int VERSION_1
Definition: WrapperClusterEvent.java:96

◆ readObjectVersion1()

WrapperClusterEvent org.keycloak.cluster.infinispan.WrapperClusterEvent.ExternalizerImpl.readObjectVersion1 ( ObjectInput  input) throws IOException, ClassNotFoundException
inline
121  {
122  WrapperClusterEvent res = new WrapperClusterEvent();
123 
124  res.eventKey = MarshallUtil.unmarshallString(input);
125  res.sender = MarshallUtil.unmarshallString(input);
126  res.senderSite = MarshallUtil.unmarshallString(input);
127  res.ignoreSender = input.readBoolean();
128  res.ignoreSenderSite = input.readBoolean();
129 
130  res.delegateEvent = (ClusterEvent) input.readObject();
131 
132  return res;
133  }

◆ writeObject()

void org.keycloak.cluster.infinispan.WrapperClusterEvent.ExternalizerImpl.writeObject ( ObjectOutput  output,
WrapperClusterEvent  obj 
) throws IOException
inline
99  {
100  output.writeByte(VERSION_1);
101 
102  MarshallUtil.marshallString(obj.eventKey, output);
103  MarshallUtil.marshallString(obj.sender, output);
104  MarshallUtil.marshallString(obj.senderSite, output);
105  output.writeBoolean(obj.ignoreSender);
106  output.writeBoolean(obj.ignoreSenderSite);
107 
108  output.writeObject(obj.delegateEvent);
109  }
static final int VERSION_1
Definition: WrapperClusterEvent.java:96

メンバ詳解

◆ VERSION_1

final int org.keycloak.cluster.infinispan.WrapperClusterEvent.ExternalizerImpl.VERSION_1 = 1
staticprivate

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