in curator-framework/src/main/java/org/apache/curator/framework/imps/CreateBuilderImpl.java [910:986]
private CreateBackgroundModeACLable asCreateBackgroundModeACLable() {
return new CreateBackgroundModeACLable() {
@Override
public BackgroundPathAndBytesable<String> withACL(List<ACL> aclList) {
return CreateBuilderImpl.this.withACL(aclList);
}
@Override
public BackgroundPathAndBytesable<String> withACL(List<ACL> aclList, boolean applyToParents) {
return CreateBuilderImpl.this.withACL(aclList, applyToParents);
}
@Override
public ACLBackgroundPathAndBytesable<String> withMode(CreateMode mode) {
return CreateBuilderImpl.this.withMode(mode);
}
@Override
public String forPath(String path) throws Exception {
return CreateBuilderImpl.this.forPath(path);
}
@Override
public String forPath(String path, byte[] data) throws Exception {
return CreateBuilderImpl.this.forPath(path, data);
}
@Override
public ErrorListenerPathAndBytesable<String> inBackground(
BackgroundCallback callback, Object context, Executor executor) {
return CreateBuilderImpl.this.inBackground(callback, context, executor);
}
@Override
public ErrorListenerPathAndBytesable<String> inBackground(BackgroundCallback callback, Executor executor) {
return CreateBuilderImpl.this.inBackground(callback, executor);
}
@Override
public ErrorListenerPathAndBytesable<String> inBackground(BackgroundCallback callback, Object context) {
return CreateBuilderImpl.this.inBackground(callback, context);
}
@Override
public ErrorListenerPathAndBytesable<String> inBackground(BackgroundCallback callback) {
return CreateBuilderImpl.this.inBackground(callback);
}
@Override
public ErrorListenerPathAndBytesable<String> inBackground(Object context) {
return CreateBuilderImpl.this.inBackground(context);
}
@Override
public ErrorListenerPathAndBytesable<String> inBackground() {
return CreateBuilderImpl.this.inBackground();
}
@Override
public ACLPathAndBytesable<String> withProtectedEphemeralSequential() {
return CreateBuilderImpl.this.withProtectedEphemeralSequential();
}
@Override
public ACLCreateModePathAndBytesable<String> creatingParentsIfNeeded() {
createParentsIfNeeded = true;
return asACLCreateModePathAndBytesable();
}
@Override
public ACLCreateModePathAndBytesable<String> creatingParentContainersIfNeeded() {
setCreateParentsAsContainers();
return asACLCreateModePathAndBytesable();
}
};
}