io.split.storages.pluggable.adapters.UserCustomEventAdapterConsumer Maven / Gradle / Ivy
The newest version!
package io.split.storages.pluggable.adapters;
import io.split.client.dtos.Event;
import io.split.client.events.EventsStorageConsumer;
import io.split.client.events.WrappedEvent;
import java.util.ArrayList;
import java.util.List;
public class UserCustomEventAdapterConsumer implements EventsStorageConsumer {
@Override
public WrappedEvent pop() {
//No-Op
return new WrappedEvent(new Event(), 0L);
}
@Override
public List popAll(){
//No-op
return new ArrayList<>();
}
@Override
public boolean isFull() {
return false;
}
}