233234235236237238239240241242243
boolean locked = lock.lock(); if (locked) { try { return _clusterAccessor.readResource(resourceId); } finally { lock.unlock(); } } return null; }
248249250251252253254255256257258
boolean locked = lock.lock(); if (locked) { try { return _clusterAccessor.updateResource(resourceId, resourceDelta); } finally { lock.unlock(); } } return null; } }
7374757677787980818283
boolean locked = lock.lock(); if (locked) { try { return _resourceAccessor.readResource(resourceId); } finally { lock.unlock(); } } return null; }
8788899091929394959697
boolean locked = lock.lock(); if (locked) { try { return _resourceAccessor.updateResource(resourceId, resourceDelta); } finally { lock.unlock(); } } return null; }
101102103104105106107108109110111
boolean locked = lock.lock(); if (locked) { try { return _resourceAccessor.setRebalancerContext(resourceId, context); } finally { lock.unlock(); } } return false; }
119120121122123124125126127128129
boolean locked = lock.lock(); if (locked) { try { return _resourceAccessor.setResource(resourceConfig); } finally { lock.unlock(); } } return false; }
135136137138139140141142143144145
if (locked) { try { return _resourceAccessor.generateDefaultAssignment(resourceId, replicaCount, participantGroupTag); } finally { lock.unlock(); } } return false; }
boolean locked = lock.lock(); if (locked) { try { return _clusterAccessor.createCluster(cluster); } finally { lock.unlock(); } } return false; }
boolean locked = lock.lock(); if (locked) { try { return _clusterAccessor.dropCluster(); } finally { lock.unlock(); } } return false; }
115116117118119120121122123124125
boolean locked = lock.lock(); if (locked) { try { return _clusterAccessor.readCluster(); } finally { lock.unlock(); } } return null; }