1 25 26 package org.objectweb.perseus.concurrency.api; 27 28 33 public interface ConcurrencyManager { 34 35 40 void begin(Object ctx); 41 42 47 boolean validate(Object ctx); 48 49 53 void finalize(Object ctx); 54 55 59 void abort(Object ctx); 60 61 73 Object readIntention(Object ctx, Object resource, Object lockHints) 74 throws ConcurrencyException; 75 76 88 Object writeIntention(Object ctx, Object resource, Object lockHints) 89 throws ConcurrencyException; 90 } 91 | Popular Tags |