public static interface ReactiveChangeStreamOperation.ChangeStreamWithCollection<T>
Modifier and Type | Method and Description |
---|---|
ReactiveChangeStreamOperation.ChangeStreamWithFilterAndProjection<T> |
watchCollection(Class<?> entityClass)
Set the the collection to watch.
|
ReactiveChangeStreamOperation.ChangeStreamWithFilterAndProjection<T> |
watchCollection(String collection)
Explicitly set the name of the collection to watch.
|
ReactiveChangeStreamOperation.ChangeStreamWithFilterAndProjection<T> watchCollection(String collection)
collection
- must not be null nor empty.ReactiveChangeStreamOperation.ChangeStreamWithFilterAndProjection
.IllegalArgumentException
- if collection
is null.ReactiveChangeStreamOperation.ChangeStreamWithFilterAndProjection<T> watchCollection(Class<?> entityClass)
entityClass
.entityClass
- must not be null.ReactiveChangeStreamOperation.ChangeStreamWithFilterAndProjection
.IllegalArgumentException
- if entityClass
is null.Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.