public class PublisherRandomPool extends com.yahoo.bullet.common.RandomPool<com.yahoo.bullet.pubsub.Publisher> implements AutoCloseable
Constructor and Description |
---|
PublisherRandomPool(List<com.yahoo.bullet.pubsub.Publisher> items)
Constructor for the RandomPool that takes a list of items.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
close() |
public PublisherRandomPool(List<com.yahoo.bullet.pubsub.Publisher> items)
items
- A list of items to form the pool with.public void clear()
clear
in class com.yahoo.bullet.common.RandomPool<com.yahoo.bullet.pubsub.Publisher>
public void close()
close
in interface AutoCloseable
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.