2 * To change this template, choose Tools | Templates
3 * and open the template in the editor.
6 package TransactionalIO.core;
8 import TransactionalIO.interfaces.ContentionManager;
15 public class ManagerRepository {
16 private static ContentionManager blockcm;
17 private static ContentionManager offsetcm;
19 public synchronized static ContentionManager getBlockcm() {
23 public synchronized static void setBlockcm(ContentionManager blockcm) {
24 ManagerRepository.blockcm = blockcm;
27 public synchronized static ContentionManager getOffsetcm() {
31 public synchronized static void setOffsetcm(ContentionManager offsetcm) {
32 ManagerRepository.offsetcm = offsetcm;