IBM Developer is your one-stop location for getting hands-on training and learning in-demand skills on relevant technologies such as generative AI, data science, AI, and open source.
Apache Commons JCS のキャッシュを保持する期間設定には以下のようなものがあります。 MaxLifeSeconds MaxMemoryIdleTimeSeconds MaxLifeSeconds で一定時間が経つと無効になるキャッシュを設定でき、MaxMemoryIdleTimeSeconds で一定時間参照されないと削除されるキャッシュを設定できます。 今回はこれらの設定を試す簡単なサンプルを Groovy で作成してみました。 ソースは http://github.com/fits/try_samples/tree/master/blog/20120407/ MaxLifeSeconds(一定時間で無効になるキャッシュ設定) まずは MaxLifeSeconds を使って一定時間経過すると無効になるキャッシュを試してみます。 JCS のキャッシュ設定ファイル cache
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く