class SetDynamicCompositeCancellable implements DynamicCompositeCancellable {

    @Override
    public void cancel() {
        if (cancelledUpdater.compareAndSet(this, 0, 1)) {
            cancelAll();
        }
    }

      SetDynamicCompositeCancellable();
      SetDynamicCompositeCancellable(int initialSize);

}