congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
JetstreamEvent.remove
Code IndexAdd Tabnine to your IDE (free)

How to use
remove
method
in
com.ebay.jetstream.event.JetstreamEvent

Best Java code snippets using com.ebay.jetstream.event.JetstreamEvent.remove (Showing top 7 results out of 315)

origin: pulsarIO/realtime-analytics

    continue;
  SessionizationInfo info = (SessionizationInfo) firstEvent.remove(CURRENT_SESSIOIZERINFO);
  handleRawEvent(uid, identifier, null, firstEvent, sessionizer, info);
} else if (Constants.EVENT_TYPE_SESSION_TRANSFERED_EVENT.equals(firstEvent.getEventType())) {
    continue;
  SessionizationInfo info = (SessionizationInfo) firstEvent.remove(CURRENT_SESSIOIZERINFO);
  handleRawEvent(uid, identifier, localSessionCache.get(uid), firstEvent, sessionizer, info);
} else {
  SessionizationInfo info = (SessionizationInfo) firstEvent.remove(CURRENT_SESSIOIZERINFO);
  handleRawEvent(uid, identifier, null, firstEvent, sessionizer, info);
  Session session = localSessionCache.get(uid);
  while (nextEvent != null) {
    SessionizationInfo info = (SessionizationInfo) nextEvent.remove(CURRENT_SESSIOIZERINFO);
    updateSessionOnly(session, nextEvent, identifier, sessionizer, info);
    nextEvent = q.poll();
origin: pulsarIO/realtime-analytics

private void processEPL(JetstreamEvent event) {
  Object sesionizerList = event.remove(SessionizerProcessor.SESSIONIZER_LIST);
  try {
    esperService.getEPRuntime().sendEvent(event, event.getEventType());
  } finally {
    if (sesionizerList != null) {
      event.put(SessionizerProcessor.SESSIONIZER_LIST, sesionizerList);
    }
  }
}
origin: pulsarIO/realtime-analytics

SessionizationInfo next = pendingSessionizers.removeFirst();
if (pendingSessionizers.isEmpty()) {
  event.remove(SESSIONIZER_LIST);
origin: pulsarIO/realtime-analytics

private void processNormalEvent(String identifier, JetstreamEvent event, Sessionizer sessionizer, String affinityKey, SessionizationInfo info) {
  String uid = sessionizer.getUniqueSessionIdentifier(identifier);
  PendingEventHolder holder = pendingReadEvents.get(uid);
  if (holder != null) {
    holder.offer(event);
    return;
  }
  Session session = localSessionCache.get(uid);
  RemoteStoreProvider remoteDAO = provider;
  if (session == null && remoteDAO != null
      && (!enableReadOptimization || clusterManager.isOwnershipChangedRecently(
          affinityKey))) {
    if (remoteDAO.asyncLoadSupport()) {
      if (asyncLoadFromRemoteStore(event, uid, remoteDAO, affinityKey)) {
        return;
      }
    } else {
      session = remoteDAO.load(uid);
    }
  }
  event.remove(CURRENT_SESSIOIZERINFO);
  handleRawEvent(uid, identifier, session, event, sessionizer, info);
}
origin: pulsarIO/realtime-analytics

SessionizationInfo info = (SessionizationInfo) firstEvent.remove(CURRENT_SESSIOIZERINFO);
handleRawEvent(uid, identifier, session, firstEvent, sessionizer, info);
  session = localSessionCache.get(uid);
  while (nextEvent != null) {
    info = (SessionizationInfo) nextEvent.remove(CURRENT_SESSIOIZERINFO);
    updateSessionOnly(session, nextEvent, identifier, sessionizer, info);
    nextEvent = q.poll();
origin: pulsarIO/realtime-analytics

event.remove(Constants.REPLAY_INITIAL_TS);
event.remove(Constants.REPLAY_LAST_TS);
event.remove(getReplayConfig().getTimestampKey());
event.remove(replayTopicKey);
origin: com.ebay.jetstream/jetstream-messaging

lock.readLock().unlock();
if (injectTs) {
  event.remove(m_config.getTimestampKey());
com.ebay.jetstream.eventJetstreamEventremove

Popular methods of JetstreamEvent

  • get
  • <init>
  • containsKey
  • put
  • getEventType
  • setEventType
  • setForwardingTopics
  • clone
  • entrySet
  • getForwardingTopics
  • getMetaData
  • addMetaData
  • getMetaData,
  • addMetaData,
  • getEventId,
  • getForwardingUrls,
  • keySet,
  • putAll,
  • size,
  • toString

Popular in Java

  • Running tasks concurrently on multiple threads
  • runOnUiThread (Activity)
  • compareTo (BigDecimal)
  • onRequestPermissionsResult (Fragment)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • Kernel (java.awt.image)
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • JComboBox (javax.swing)
  • 21 Best IntelliJ Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now