ReloadingSolrServers

io.ino.solrs.ReloadingSolrServers
class ReloadingSolrServers[F[_]](url: String, extractor: Array[Byte] => IndexedSeq[SolrServer], httpClient: AsyncHttpClient)(implicit futureFactory: FutureFactory[F]) extends SolrServers

Attributes

Graph
Supertypes
trait SolrServers
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def all: IndexedSeq[SolrServer]

The currently known solr servers.

The currently known solr servers.

Attributes

Definition Classes
protected def loadUrl(): Future[Array[Byte]]
override def matching(r: SolrRequest[_]): Try[IndexedSeq[SolrServer]]

An infinite iterator over known solr servers. When the last item is reached, it should start from the first one again. When the known solr servers change, the iterator must reflect this.

An infinite iterator over known solr servers. When the last item is reached, it should start from the first one again. When the known solr servers change, the iterator must reflect this.

Attributes

Definition Classes
def reload(): F[IndexedSeq[SolrServer]]