use of org.ovirt.engine.core.common.queries.gluster.GlusterParameters in project ovirt-engine by oVirt.
the class GetGlusterVolumeOptionsInfoQueryTest method setupExpectedGlusterVolumeOptionInfo.
private void setupExpectedGlusterVolumeOptionInfo() {
parameters = new GlusterParameters(CLUSTER_ID);
expected = new ArrayList<>();
GlusterVolumeOptionInfo option = new GlusterVolumeOptionInfo();
option.setKey("cluster.self-heal-window-size");
option.setDefaultValue("1");
option.setDescription("Maximum number blocks per file for which self-heal process would be applied simultaneously.");
expected.add(option);
}
use of org.ovirt.engine.core.common.queries.gluster.GlusterParameters in project ovirt-engine by oVirt.
the class AsyncDataProvider method getGlusterHooks.
public void getGlusterHooks(AsyncQuery<List<GlusterHookEntity>> aQuery, Guid clusterId) {
aQuery.converterCallback = new ListConverter<>();
Frontend.getInstance().runQuery(QueryType.GetGlusterHooks, new GlusterParameters(clusterId), aQuery);
}
Aggregations