public class EventsMapper extends AbstractMapper
Constructor and Description |
---|
EventsMapper(Session session)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
EventPackage |
get(EventActionType actionType,
EventType eventType,
Long startingId,
Long endingId,
UUID containerId,
String containerType)
Gets all ContainerEvents that match the action type, starting id, ending id, container id and type.
|
getClient, getCredentials, getServerTime, getSession, isAuthenticated, setSession
public EventsMapper(Session session) throws NoSuchPaddingException, NoSuchAlgorithmException
session
- the session for the mapperNoSuchPaddingException
- thrown if the default padding for symmetric encryption is not supportedNoSuchAlgorithmException
- thrown if ECDH is not supportedpublic EventPackage get(EventActionType actionType, EventType eventType, Long startingId, Long endingId, UUID containerId, String containerType) throws IOException, InterruptedException, BrokerException
actionType
- the specific type action you wish to pull (null will get all actions)eventType
- the specific type of events you wish to pull (null will get all events)startingId
- the id to start pulling from (null will start from the beginning)endingId
- the id to stop pulling from (null will get all events)containerId
- the specific id of a container to pull events for (null will get events for all containers)containerType
- the specific type value to look for events for (null will get containers with any type
value)IOException
- thrown if there were any IO issuesInterruptedException
- thrown if there were issues while dealing with rate limitingBrokerException
- thrown if there were any issues with the requests to Absio Broker™
applicationCopyright © 2021. All rights reserved.