クラスの使用
org.springframework.boot.buildpack.platform.build.Cache
Cache を使用するパッケージ
org.springframework.boot.buildpack.platform.build 内の Cache 使用
修飾子と型クラス説明static class
バインドマウントに保存されたキャッシュの詳細。static class
Docker ボリュームに保管されているキャッシュの詳細。修飾子と型メソッド説明static Cache
提供されたソースを使用してバインドマウントを使用する新しいCache
を作成します。BuildRequest.getBuildCache()
ライフサイクルで使用する必要があるカスタムビルドキャッシュを返します。BuildRequest.getBuildWorkspace()
ライフサイクルで使用されるビルドワークスペースを返します。BuildRequest.getLaunchCache()
ライフサイクルで使用する必要があるカスタム起動キャッシュを返します。static Cache
指定された名前のボリュームを使用する新しいCache
を作成します。static Cache
Cache.volume
(VolumeName name) 指定された名前のボリュームを使用する新しいCache
を作成します。型 Cache のパラメーターを持つ org.springframework.boot.buildpack.platform.build のメソッド修飾子と型メソッド説明void
AbstractBuildLog.executingLifecycle
(BuildRequest request, org.springframework.boot.buildpack.platform.build.LifecycleVersion version, Cache buildCache) void
BuildLog.executingLifecycle
(BuildRequest request, org.springframework.boot.buildpack.platform.build.LifecycleVersion version, Cache buildCache) ライフサイクルが実行されていることをログに記録します。void
AbstractBuildLog.failedCleaningWorkDir
(Cache cache, ExceptionSE exception) void
BuildLog.failedCleaningWorkDir
(Cache cache, ExceptionSE exception) キャッシュクリーンアップ手順が正常に完了しなかったことをログに記録します。BuildRequest.withBuildCache
(Cache buildCache) ビルドキャッシュが更新された新しいBuildRequest
を返します。BuildRequest.withBuildWorkspace
(Cache buildWorkspace) 更新されたビルドワークスペースを含む新しいBuildRequest
を返します。BuildRequest.withLaunchCache
(Cache launchCache) 起動キャッシュが更新された新しいBuildRequest
を返します。