<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>j5ik2o</author_name>
  <author_url>https://blog.hatena.ne.jp/j5ik2o/</author_url>
  <blog_title>かとじゅんの技術日誌</blog_title>
  <blog_url>https://blog.j5ik2o.me/</blog_url>
  <categories>
    <anon>バッチ処理</anon>
    <anon>S2Chronos</anon>
  </categories>
  <description>スレッドプール周りの話に行く前に，初期化と破棄処理のお話をしておかないとまずいｗ． initializeとdestroyという名のメソッドを定義してください．そうするとS2Chronosのスケジューラによって登録された後に，スケジューラがタスクを順番に検索します．その検索時に最初に一度だけinitializeメソッドが実行されます． そして，破棄メソッドですが，タスククラスのdoExecuteメソッドが終了したら，スケジューラ内部でのタスクの状態管理が実行済みに遷移し，その後一定間隔でスケジューラのキューから削除されます．その削除前に一度だけdestroyメソッドが呼ばれます．（GC的な破棄と…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.j5ik2o.me%2Fentry%2F20080916%2F1221554652&quot; title=&quot; 初期化と破棄処理について - かとじゅんの技術日誌&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-09-16 17:44:12</published>
  <title> 初期化と破棄処理について</title>
  <type>rich</type>
  <url>https://blog.j5ik2o.me/entry/20080916/1221554652</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
