public interface BulletinRepository
Bulletins that have been created by the NiFi Framework and the
Components that are running within the Framework.| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_BULLETINS_FOR_CONTROLLER |
static int |
MAX_BULLETINS_PER_COMPONENT |
| Modifier and Type | Method and Description |
|---|---|
void |
addBulletin(Bulletin bulletin)
Adds a Bulletin to the repository.
|
List<Bulletin> |
findBulletins(BulletinQuery bulletinQuery)
Finds Bulletin's that meet the specified query.
|
List<Bulletin> |
findBulletinsForController() |
List<Bulletin> |
findBulletinsForController(int max)
Finds all bulletins for the controller;
|
List<Bulletin> |
findBulletinsForGroupBySource(String groupId)
Finds all bulletins for the specified group.
|
List<Bulletin> |
findBulletinsForGroupBySource(String groupId,
int maxPerComponent)
Finds all bulletins for the specified group.
|
List<Bulletin> |
findBulletinsForSource(String sourceId)
Finds all bulletins for the specified source component.
|
List<Bulletin> |
findBulletinsForSource(String sourceId,
String groupId)
Finds all bulletins for the specified source component that resides in the given group.
|
int |
getComponentBulletinCapacity() |
int |
getControllerBulletinCapacity() |
long |
getMaxBulletinId() |
static final int MAX_BULLETINS_PER_COMPONENT
static final int MAX_BULLETINS_FOR_CONTROLLER
void addBulletin(Bulletin bulletin)
bulletin - to addint getControllerBulletinCapacity()
int getComponentBulletinCapacity()
List<Bulletin> findBulletins(BulletinQuery bulletinQuery)
bulletinQuery - indicates which bulletins are of interestList<Bulletin> findBulletinsForSource(String sourceId)
sourceId - id of the sourceList<Bulletin> findBulletinsForSource(String sourceId, String groupId)
findBulletinsForSource(String) method may be used, this method is preferred when the ID of the group
is known, as this is far more efficient.sourceId - the id of the source componentgroupId - the id of the process groupList<Bulletin> findBulletinsForGroupBySource(String groupId)
groupId - id of the groupList<Bulletin> findBulletinsForGroupBySource(String groupId, int maxPerComponent)
groupId - id of the groupmaxPerComponent - max responses wantedList<Bulletin> findBulletinsForController()
List<Bulletin> findBulletinsForController(int max)
max - limits the number of responseslong getMaxBulletinId()
Copyright © 2022 Apache NiFi Project. All rights reserved.