パッケージ org.iplass.mtp.impl.lob
クラス LobHandler
java.lang.Object
org.iplass.mtp.impl.lob.LobHandler
-
コンストラクタの概要
コンストラクタコンストラクタ説明LobHandler(LobStore lobStore, LobStoreService lobStoreService, SessionService sessionService, EntityService ehService, EntityManager em) -
メソッドの概要
修飾子とタイプメソッド説明booleanstatic void参照されていないLobデータを削除します。voidcleanLobDataImmediately(int tenantId, long lobDataId) static voidテンポラリデータを削除します。crateBinaryDataTemporary(String name, String type, String sessionId) getBinaryData(long lobId) Lob[]getBinaryReference(long[] lobId, EntityContext context) static Map<String, LobHandler> static LobHandlergetInstance(String lobStoreName) booleanmarkPersistenceBinaryData(long lobId, String sessionId, String defId, String propId, String oid, Long version) voidmarkRestoreFromRecycleBin(long rbid) voidmarkToRecycleBin(long lobId, long rbid) voidremoveBinaryData(long lobId) intremoveBinaryDataByDefId(int tenantId, String defId) voidremoveBinaryDataByRbid(long rbid) intremoveBinaryDataForDefrag(int tenantId, EntityHandler eh) Entity定義として参照されていないバイナリデータを削除します。toBinaryReference(Lob bin, EntityContext context) booleanupdateBinaryDataInfo(long lobId, String name, String type) longLobStoreのLobサイズを更新します。
-
コンストラクタの詳細
-
LobHandler
public LobHandler(LobStore lobStore, LobStoreService lobStoreService, SessionService sessionService, EntityService ehService, EntityManager em)
-
-
メソッドの詳細
-
getInstance
-
getHandlerMap
-
canAccess
-
copyFor
-
getBinaryReference
-
getBinaryData
-
crateBinaryDataTemporary
-
createBinaryData
-
markPersistenceBinaryData
-
updateBinaryDataInfo
-
removeBinaryData
public void removeBinaryData(long lobId) -
toBinaryReference
-
cleanTemporaryBinaryData
public static void cleanTemporaryBinaryData()テンポラリデータを削除します。 -
cleanLobData
public static void cleanLobData()参照されていないLobデータを削除します。 -
cleanLobDataImmediately
public void cleanLobDataImmediately(int tenantId, long lobDataId) -
removeBinaryDataByRbid
public void removeBinaryDataByRbid(long rbid) -
removeBinaryDataByDefId
-
removeBinaryDataForDefrag
Entity定義として参照されていないバイナリデータを削除します。- パラメータ:
eh- 対象Entity- 戻り値:
- 更新件数
-
markToRecycleBin
public void markToRecycleBin(long lobId, long rbid) -
markRestoreFromRecycleBin
public void markRestoreFromRecycleBin(long rbid) -
updateLobStoreSize
public long updateLobStoreSize()LobStoreのLobサイズを更新します。
-