tech.ydb.coordination.description.SemaphoreChangedEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ydb-sdk-coordination Show documentation
Show all versions of ydb-sdk-coordination Show documentation
Coordination node client implementation
The newest version!
package tech.ydb.coordination.description;
import tech.ydb.proto.coordination.SessionResponse;
public class SemaphoreChangedEvent {
private final boolean dataChanged;
private final boolean ownersChanged;
public SemaphoreChangedEvent(SessionResponse.DescribeSemaphoreChanged event) {
this.dataChanged = event.getDataChanged();
this.ownersChanged = event.getOwnersChanged();
}
public boolean isDataChanged() {
return dataChanged;
}
public boolean isOwnersChanged() {
return ownersChanged;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy