All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.linyuzai.connection.loadbalance.sse.concept.SseScoped Maven / Gradle / Ivy

The newest version!
package com.github.linyuzai.connection.loadbalance.sse.concept;

import com.github.linyuzai.connection.loadbalance.core.scope.Scoped;

import java.util.Collection;
import java.util.List;

/**
 * SSE 作用域。
 * 

* SSE scope. */ public interface SseScoped extends Scoped { String NAME = SseScoped.class.getSimpleName(); @Override default boolean support(String scope) { return NAME.equals(scope); } static List filter(Collection collection) { return Scoped.filter(NAME, collection); } }