先行コマンド/後続アプリケーションにおけるAPIの分類は以下のとおりです。
以下に示すAPI以外については、競合しないため考慮する必要はありません。
分類 | Java API | .NET API | C API | ||
---|---|---|---|---|---|
クラス | メソッド | クラス | メソッド | ||
コネクション確立 | ShunConnection | ShunConnection() | ShunService | Connect() | ShunConnect |
接続先Shunsaku Fileの切替え | ShunConnection | setShunsakuFileName() | ShunService | ChangeShunsakuFile() | ShunSetConnectAttr |
更新/トランザクション開始 | ShunPreparedStatement | executeInsert() | ShunService | Insert() | ShunInsert |
ShunPreparedRecordID | deleteByRecordID() | ShunService | Delete() | ShunDeleteRecId | |
ShunPreparedRecordID | updateByRecordID() | ShunService | Update() | ShunUpdateRecId | |
ShunPreparedKey | deleteByKey() | ShunService | DeleteByKey() | ShunDeleteKey | |
ShunPreparedKey | updateByKey() | ShunService | UpdateByKey() | ShunUpdateKey | |
トランザクション終了 | ShunConnection | commit() | ShunService | Commit() | ShunCommit |
ShunConnection | rollback() | ShunService | Rollback() | ShunRollback | |
参照 | ShunPreparedStatement | executeSearch() | ShunService | GetHitCount() | ShunGetHitCount |
ShunPreparedStatement | executeSearch() | ShunService | Search() | ShunSearch | |
ShunPreparedRecordID | searchByRecordID() | ShunService | SearchByRecordID() | ShunSearchRecId | |
ShunPreparedKey | searchByKey() | ShunService | SearchByKey() | ShunSearchKey |
先行コマンド/後続アプリケーションの場合の競合動作は、次のようになります。
先行コマンド | 後続アプリケーション | 競合する条件と競合した場合の動作 | ||||
---|---|---|---|---|---|---|
コネクション確立 | 接続先Shunsaku Fileの切替え | 更新/トランザクション開始 | トランザクション終了 | 参照 | ||
shunsysstart | × | - | - | - | - | ×:APIはエラーになる |
shunsysstop | × | - | - | - | - | ×:APIはエラーになる |
shunsyscfgedit | ○ | ○ | ○ | ○ | ○ | - |
shunsyscfgedit | △ | △ | △ | △ | △ | △:Fileからのdirectorの削除、またはDomainからのFileの削除時には、それらへの既存のコネクションは切断され、新たなコネクション確立は拒否される |
shunsysstate | ○ | ○ | ○ | ○ | ○ | - |
shuncstate | ○ | ○ | ○ | ○ | ○ | - |
shuncterm | ○ | ○ | ○ | ○ | ○ | - |
shuncservice | - | - | - | - | - | - |
shundstate | ○ | ○ | ○ | ○ | ○ | - |
shundclear | ○ | ○ | × | - | ○ | ×:APIはエラーになる |
shundimport | ○ | ○ | △ | ○ | ○ | △:shundimportの削除対象とAPIの更新/削除対象が競合した場合、APIはエラーになる |
shundexport | ○ | ○ | × | - | ○ | ×:APIはエラーになる |
shundresend | ○ | ○ | × | - | ○ | ×:APIはエラーになる |
shundrestrict -aw | ○ | ○ | × | - | ○ | ×:APIはエラーになる |
shundrestrict -arw | ○ | ○ | × | - | × | ×:APIはエラーになる |
shundrestrict -r | ○ | ○ | ○ | ○ | ○ | - |
shundcds | ○ | ○ | × | - | ○ | ×:APIはエラーになる |
shundservice | - | - | - | - | - | - |
shundbackup | ○ | ○ | △ | - | ○ | △:OperationLogFolderの指定がない場合、APIはエラーになる |
shundbackup | ○ | ○ | ○ | - | ○ | - |
shundbackup(開始宣言のキャンセル) | ○ | ○ | ○ | - | ○ | - |
shundrecover | ○ | ○ | × | - | × | ×:APIはエラーになる |
shundrecover | ○ | ○ | × | - | × | ×:APIはエラーになる |
shunostate | ○ | ○ | ○ | ○ | ○ | - |
shunoservice | - | - | - | - | - | - |
shunsstate | ○ | ○ | ○ | ○ | ○ | - |
shunsservice | - | - | - | - | - | - |
shunprtmsg | ○ | ○ | ○ | ○ | ○ | - |