public class StreamManager extends java.lang.Object implements StreamManagerMBean
StreamResultFutures and provides status of all operation invoked.
All stream operation should be created through this class to track streaming status and progress.| Modifier and Type | Field and Description |
|---|---|
static StreamManager |
instance |
OBJECT_NAME| Constructor and Description |
|---|
StreamManager() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<StreamState> |
getCurrentStreams()
Returns the current state of all ongoing streams.
|
static com.google.common.util.concurrent.RateLimiter |
getRateLimiter()
Gets streaming rate limiter.
|
StreamResultFuture |
getReceivingStream(java.util.UUID planId) |
void |
register(StreamResultFuture result) |
void |
registerReceiving(StreamResultFuture result) |
public static final StreamManager instance
public static com.google.common.util.concurrent.RateLimiter getRateLimiter()
public java.util.Set<StreamState> getCurrentStreams()
StreamManagerMBeangetCurrentStreams in interface StreamManagerMBeanpublic void register(StreamResultFuture result)
public void registerReceiving(StreamResultFuture result)
public StreamResultFuture getReceivingStream(java.util.UUID planId)
Copyright © 2013 The Apache Software Foundation