1 6 7 package org.apache.beehive.netui.util.internal.concurrent; 8 9 136 interface Lock { 137 138 151 void lock(); 152 153 198 void lockInterruptibly() throws InterruptedException ; 199 200 201 226 boolean tryLock(); 227 228 283 boolean tryLock(long time, TimeUnit unit) throws InterruptedException ; 284 285 295 void unlock(); 296 297 314 Condition newCondition(); 315 316 } 317 318 319 320 321 322 323 324 325 326 327 328 329 | Popular Tags |