tech.ydb.topic.read.impl.events.PartitionSessionClosedEventImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ydb-sdk-topic Show documentation
Show all versions of ydb-sdk-topic Show documentation
Topic client implementation
package tech.ydb.topic.read.impl.events;
import tech.ydb.topic.read.PartitionSession;
import tech.ydb.topic.read.events.PartitionSessionClosedEvent;
/**
* @author Nikolay Perfilov
*/
public class PartitionSessionClosedEventImpl implements PartitionSessionClosedEvent {
private final PartitionSession partitionSession;
public PartitionSessionClosedEventImpl(PartitionSession partitionSession) {
this.partitionSession = partitionSession;
}
@Override
public PartitionSession getPartitionSession() {
return partitionSession;
}
}