@Test public void getCounterManage_test() { CounterManager counterManager = CounterManager.getInstance(); Assert.assertNotNull(counterManager); }
public static CounterManager getInstance() { if (instance == null) { synchronized (CounterManager.class) { if (instance == null) { instance = new CounterManager(); } } } return instance; }
CounterManager { public static CounterManager getInstance() { if (instance == null) { synchronized (CounterManager.class) { if (instance == null) { instance = new CounterManager(); } } } return instance; } }
CounterManager { public static CounterManager getInstance() { if (instance == null) { synchronized (CounterManager.class) { if (instance == null) { instance = new CounterManager(); } } } return instance; } private  CounterManager(); }
CounterManager { public static CounterManager getInstance() { if (instance == null) { synchronized (CounterManager.class) { if (instance == null) { instance = new CounterManager(); } } } return instance; } private  CounterManager(); static CounterManager getInstance(); CounterEngine getCounterEngine(); byte[] getXmlContent(); byte[] getXmlCustomContent(); synchronized boolean safelyAddFamily(Family family); synchronized boolean safelyAddObjectType(ObjectType objType); synchronized boolean addFamily(Family family); synchronized boolean addFamilyAndObjectType(Family family, ObjectType objectType); boolean addObjectType(MapPack param); boolean addObjectTypeIfNotExist(ObjectPack objectPack); synchronized boolean addObjectType(ObjectType objType); boolean editObjectType(MapPack param); synchronized boolean editObjectType(ObjectType objType); static void main(String[] args); String readCountersSiteXml(); boolean saveAndReloadCountersSiteXml(String contents); }
CounterManager { public static CounterManager getInstance() { if (instance == null) { synchronized (CounterManager.class) { if (instance == null) { instance = new CounterManager(); } } } return instance; } private  CounterManager(); static CounterManager getInstance(); CounterEngine getCounterEngine(); byte[] getXmlContent(); byte[] getXmlCustomContent(); synchronized boolean safelyAddFamily(Family family); synchronized boolean safelyAddObjectType(ObjectType objType); synchronized boolean addFamily(Family family); synchronized boolean addFamilyAndObjectType(Family family, ObjectType objectType); boolean addObjectType(MapPack param); boolean addObjectTypeIfNotExist(ObjectPack objectPack); synchronized boolean addObjectType(ObjectType objType); boolean editObjectType(MapPack param); synchronized boolean editObjectType(ObjectType objType); static void main(String[] args); String readCountersSiteXml(); boolean saveAndReloadCountersSiteXml(String contents);  }