Edit D:\app\Administrator\product\11.2.0\dbhome_1\oc4j\javacache\lib\oracle\ias\cache\DiskFileLock.class
?? . ? * B C D E F G H I J K L M N O P Q J R S T U V W X F Y Z [ B \ ] ^ _ ` a b c d e ? d f g h i j k R l m_local Z LOCK_NAME Ljava/lang/String; ConstantValue m_file Ljava/io/File; m_channel Ljava/nio/channels/FileChannel; m_lock Ljava/nio/channels/FileLock; <init> (Z)V Code ()V (Ljava/lang/String;Z)V getLock (Ljava/io/RandomAccessFile;)V Exceptions m releaseLock main ([Ljava/lang/String;)V 6 9 + , java/io/File _lck_ 6 n 0 1 o p 2 3 q r s 4 5 java/io/RandomAccessFile rw 6 t u v 9 w 9 java/lang/Exception x y z oracle/ias/cache/DiskFileLock 6 7 ylocktest { | } java/lang/StringBuffer try to get lock ~ ~ ? ? ? ? ? ? ; < ? ? ? ? ? ? ? ? ? ? ? write seq= @ ? 9 java/lang/Object java/io/IOException '(Ljava/lang/String;Ljava/lang/String;)V getChannel !()Ljava/nio/channels/FileChannel; java/nio/channels/FileChannel lock ()Ljava/nio/channels/FileLock; #(Ljava/io/File;Ljava/lang/String;)V java/nio/channels/FileLock release close java/lang/Integer parseInt (Ljava/lang/String;)I java/lang/System err Ljava/io/PrintStream; append ,(Ljava/lang/String;)Ljava/lang/StringBuffer; (I)Ljava/lang/StringBuffer; toString ()Ljava/lang/String; java/io/PrintStream println (Ljava/lang/String;)V readInt ()I java/lang/Thread currentThread ()Ljava/lang/Thread; sleep (J)V seek writeInt (I)V * + , - . / 0 1 2 3 4 5 6 7 8 *? *? ? 6 9 8 *? *? ? 6 : 8 $ *? *? Y+? ? *? ? ; <