public abstract class StreamPropertyListener extends Object
| Constructor and Description |
|---|
StreamPropertyListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleted(Id.Stream streamId)
Invoked when the stream property is deleted.
|
void |
generationChanged(Id.Stream streamId,
int generation)
Invoked when stream generation changed.
|
void |
thresholdChanged(Id.Stream streamId,
int threshold)
Invoked when the stream Notification threshold property is changed.
|
void |
ttlChanged(Id.Stream streamId,
long ttl)
Invoked when the stream TTL property is changed.
|
public void generationChanged(Id.Stream streamId, int generation)
streamId - Id of the streamgeneration - The generation id updated to.public void ttlChanged(Id.Stream streamId, long ttl)
streamId - Id of the streamttl - TTL of the streampublic void thresholdChanged(Id.Stream streamId, int threshold)
streamId - Id of the streamthreshold - Notification threshold of the streampublic void deleted(Id.Stream streamId)
streamId - Id of the streamCopyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.