クラス CombinedOverlay
- すべての実装されたインタフェース:
Closeable,AutoCloseable,Overlay<Destination,Key>,OverlayListener<Destination,Key>,RequestTransport<Destination>,Transport<Destination>,TransportListener<Destination>
public class CombinedOverlay extends OverlayImpl<Destination,Key> implements OverlayListener<Destination,Key>
An implementation of combined overlay
-
ネストされたクラスの概要
クラスから継承されたネストされたクラス/インタフェース org.piax.gtrans.impl.RequestTransportImpl
RequestTransportImpl.IsEasySend -
フィールドの概要
フィールド 修飾子とタイプ フィールド 説明 AttributeTabletableクラスから継承されたフィールド org.piax.gtrans.impl.TransportImpl
defaultAppId, isActive, isBaseTransport, listenersByUpper, lowerTrans, peer, peerId, transId, transIdPath, uppers -
コンストラクタの概要
コンストラクタ コンストラクタ 説明 CombinedOverlay(Peer peer, TransportId transId) -
メソッドの概要
クラスから継承されたメソッド org.piax.gtrans.ov.impl.OverlayImpl
addKey, addKeyAsync, addKeyAsync, getAvailableKeyType, getKeys, getListener, join, join, join, lowerAddKey, lowerAddKeyAsync, lowerRemoveKey, lowerRemoveKeyAsync, numOfRegisteredKey, registerKey, registerKey, removeKey, removeKeyAsync, removeKeyAsync, request, request, request, request, request, request, request, request, requestAsync, selectOnReceive, send, send, send, setListener, singletonFutureQueue, singletonFutureQueue, toString0, unregisterKey, unregisterKeyクラスから継承されたメソッド org.piax.gtrans.impl.RequestTransportImpl
checkAndClearIsEasySend, getListener0, request, request, request, request, request, request, request, request, request, request, requestAsync, selectOnReceive, send, sendクラスから継承されたメソッド org.piax.gtrans.impl.TransportImpl
checkActive, getBaseTransport, getDefaultAppId, getListener, getLowerTransport, getLowerTransports, getMTU, getPeer, getPeerId, getTransportId, getTransportIdPath, getUppers, hasStableLocator, isUp, send, send, send, send, send, send, setBaseTransport, setDefaultAppId, setListener, setListener, toStringクラスから継承されたメソッド java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitインタフェースから継承されたメソッド org.piax.gtrans.ov.Overlay
requestAsync, requestAsync, requestAsync, requestAsync, requestAsyncインタフェースから継承されたメソッド org.piax.gtrans.RequestTransport
request, request, request, request, request, request, request, request, request, request, requestAsync, requestAsync, requestAsync, requestAsync, requestAsync, requestAsync, requestAsyncインタフェースから継承されたメソッド org.piax.gtrans.Transport
close, getBaseTransport, getListener, getLowerTransport, getLowerTransports, getMTU, getPeer, getPeerId, getTransportId, getTransportIdPath, hasStableLocator, isUp, send, send, send, send, send, send, send, send, sendAsync, sendAsync, sendAsync, sendAsync, sendAsync, sendAsync, setListener, setListener
-
フィールド詳細
-
コンストラクタの詳細
-
メソッドの詳細
-
fin
public void fin()- 定義:
finインタフェース内Transport<Destination>- オーバーライド:
finクラス内TransportImpl<Destination>
-
send
public void send(ObjectId sender, ObjectId receiver, String dstExp, Object msg) throws org.piax.gtrans.dcl.parser.ParseException, ProtocolUnsupportedException, IOException- 定義:
sendインタフェース内Overlay<Destination,Key>- オーバーライド:
sendクラス内OverlayImpl<Destination,Key>- 例外:
org.piax.gtrans.dcl.parser.ParseExceptionProtocolUnsupportedExceptionIOException
-
request
public FutureQueue<?> request(ObjectId sender, ObjectId receiver, String dstExp, Object msg, TransOptions opts) throws org.piax.gtrans.dcl.parser.ParseException, ProtocolUnsupportedException, IOException- 定義:
requestインタフェース内Overlay<Destination,Key>- オーバーライド:
requestクラス内OverlayImpl<Destination,Key>- 例外:
org.piax.gtrans.dcl.parser.ParseExceptionProtocolUnsupportedExceptionIOException
-
request
public FutureQueue<?> request(ObjectId sender, ObjectId receiver, String dstExp, Object msg, int timeout) throws org.piax.gtrans.dcl.parser.ParseException, ProtocolUnsupportedException, IOException- 定義:
requestインタフェース内Overlay<Destination,Key>- オーバーライド:
requestクラス内OverlayImpl<Destination,Key>- 例外:
org.piax.gtrans.dcl.parser.ParseExceptionProtocolUnsupportedExceptionIOException
-
request
public FutureQueue<?> request(ObjectId sender, ObjectId receiver, Destination dst, Object msg, TransOptions opts) throws ProtocolUnsupportedException, IOException- 定義:
requestインタフェース内RequestTransport<Destination>- 例外:
ProtocolUnsupportedExceptionIOException
-
onReceive
- 定義:
onReceiveインタフェース内OverlayListener<Destination,Key>
-
onReceiveRequest
- 定義:
onReceiveRequestインタフェース内OverlayListener<Destination,Key>
-
declareAttrib
-
declareAttrib
-
getDeclaredAttribNames
-
bindOverlay
public void bindOverlay(String attribName, TransportIdPath suffix) throws IllegalArgumentException, NoSuchOverlayException, IncompatibleTypeException指定されたattribNameを持つAttributeに、 指定されたTransportIdPathをsuffixとして持ち、型の互換性のあるOverlayをbindさせる。- パラメータ:
attribName- attribNamesuffix- suffixとして指定されたTransportIdPath- 例外:
IllegalArgumentException- 該当するAttributeが存在しない場合NoSuchOverlayException- 該当するOverlayが存在しない場合IncompatibleTypeException- 型の互換性が原因で候補が得られない場合
-
unbindOverlay
public void unbindOverlay(String attribName) throws IllegalArgumentException, IllegalStateException -
getBindOverlay
-
setSuperRow
指定されたrowIdを持つRowDataをsuperRowとしてセットする。 すでにRowDataが存在する場合はIdConflictExceptionがthrowされる。- パラメータ:
rowId- rowId- 戻り値:
- superRow
- 例外:
IdConflictException- すでにsuperRowが存在する場合
-
newRow
指定されたrowIdを持つRowDataを新たに生成する。 すでにRowDataが存在する場合はIdConflictExceptionがthrowされる。- パラメータ:
rowId- rowId- 戻り値:
- rowIdを持つRowData
- 例外:
IdConflictException- すでにRowDataが存在する場合
-
insertRow
RowDataを挿入する。 すでに同じrowIdを持つRowDataが存在する場合はIdConflictExceptionがthrowされる。この挿入によって起こりうる不整合に注意する必要がある。 属性値を別に持つRowDataを新たにtableに挿入することで、属性名との不整合が起こりうる。 このため、Attributeに対してunboundなRowDataでないと挿入は許されない。
- パラメータ:
row- RowData- 例外:
IllegalStateException- RowDataがAttributeに対してunboundでない場合IdConflictException- すでに同じrowIdを持つRowDataが存在する場合
-
removeRow
-
getRow
指定されたrowIdを持つRowDataを取得する。 RowDataが存在しない場合はnullが返される。- パラメータ:
rowId- rowId- 戻り値:
- rowIdを持つRowData
-
getRows
-
getEndpoint
- 定義:
getEndpointインタフェース内Transport<Destination>
-
join
- 定義:
joinインタフェース内Overlay<Destination,Key>- 定義:
joinクラス内OverlayImpl<Destination,Key>- 例外:
IOException
-
leave
- 定義:
leaveインタフェース内Overlay<Destination,Key>- 定義:
leaveクラス内OverlayImpl<Destination,Key>- 例外:
IOException
-
isJoined
public boolean isJoined()- 定義:
isJoinedインタフェース内Overlay<Destination,Key>- オーバーライド:
isJoinedクラス内OverlayImpl<Destination,Key>
-
addKey
- 定義:
addKeyインタフェース内Overlay<Destination,Key>- オーバーライド:
addKeyクラス内OverlayImpl<Destination,Key>- 例外:
IOException
-
removeKey
- 定義:
removeKeyインタフェース内Overlay<Destination,Key>- オーバーライド:
removeKeyクラス内OverlayImpl<Destination,Key>- 例外:
IOException
-
getKeys
- 定義:
getKeysインタフェース内Overlay<Destination,Key>- オーバーライド:
getKeysクラス内OverlayImpl<Destination,Key>
-
onReceive
- 定義:
onReceiveインタフェース内OverlayListener<Destination,Key>- 定義:
onReceiveインタフェース内TransportListener<Destination>
-
onReceive
-
onReceiveRequest
-