<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yuukiyg</author_name>
  <author_url>https://blog.hatena.ne.jp/yuukiyg/</author_url>
  <blog_title>YuukiYg's Blog</blog_title>
  <blog_url>https://yuukiyg.hatenablog.jp/</blog_url>
  <categories>
    <anon>プログラミング-Java</anon>
    <anon>プログラミング</anon>
  </categories>
  <description>ReentrantLockとは 排他制御をJavaで実装するときに使用するLockインタフェースの実装で、ロックを取得するタイミング、解放するタイミングなどを明示的に指定することできます。 ちなみに、このようにロックの取得／解放タイミングをプログラマが自由に指定できるものを明示的ロック（Explicit Lock）といいます。 その反対に、synchronized文などを使用したロックは、プログラマが明示的にロックの取得／解放を意識せずに排他制御を実現できることから、暗黙的ロック（Implicit Lock）と呼ばれます。 synchronized文はメソッドをまたがったロック処理（メソッドA…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyuukiyg.hatenablog.jp%2Fentry%2F2018%2F04%2F17%2F002658&quot; title=&quot;ReentrantLock の lock と tryLock - YuukiYg&amp;#39;s Blog&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>2018-04-17 00:26:58</published>
  <title>ReentrantLock の lock と tryLock</title>
  <type>rich</type>
  <url>https://yuukiyg.hatenablog.jp/entry/2018/04/17/002658</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
