Examples of processEvent()


Examples of com.lmax.disruptor.dsl.stubs.DelayedEventHandler.processEvent()

        {
            executor.execute(stubPublisher);

            assertProducerReaches(stubPublisher, 4, true);

            delayedEventHandler.processEvent();
            delayedEventHandler.processEvent();
            delayedEventHandler.processEvent();
            delayedEventHandler.processEvent();
            delayedEventHandler.processEvent();
View Full Code Here

Examples of com.lmax.disruptor.dsl.stubs.TestWorkHandler.processEvent()

        publishEvent();

        delayedEventHandler1.processEvent();
        delayedEventHandler1.processEvent();

        workHandler1.processEvent();
        delayedEventHandler2.processEvent();

        workHandler1.processEvent();
        delayedEventHandler2.processEvent();
    }
View Full Code Here

Examples of com.volantis.mcs.eclipse.ab.editors.layout.states.ColumnChangeState.processEvent()

                        new ColumnChangeState(this);
                // Return to the current state after processing.
                columnChange.setNextState(currentState);
                // Process the column change and return to its terminal state,
                // which was set above.
                currentState = columnChange.processEvent(event);

            } else if (attrName.equals(FormatComposite.ROWS_ATTR_NAME)) {
                // See the comment above for the "columns" attribute.
                GridModifierState rowChange =
                        new RowChangeState(this);
View Full Code Here

Examples of com.volantis.mcs.eclipse.ab.editors.layout.states.GridModifierState.processEvent()

                        new ColumnChangeState(this);
                // Return to the current state after processing.
                columnChange.setNextState(currentState);
                // Process the column change and return to its terminal state,
                // which was set above.
                currentState = columnChange.processEvent(event);

            } else if (attrName.equals(FormatComposite.ROWS_ATTR_NAME)) {
                // See the comment above for the "columns" attribute.
                GridModifierState rowChange =
                        new RowChangeState(this);
View Full Code Here

Examples of com.volantis.mcs.eclipse.ab.editors.layout.states.RowChangeState.processEvent()

            } else if (attrName.equals(FormatComposite.ROWS_ATTR_NAME)) {
                // See the comment above for the "columns" attribute.
                GridModifierState rowChange =
                        new RowChangeState(this);
                rowChange.setNextState(currentState);
                currentState = rowChange.processEvent(event);
            }
        }
    }

View Full Code Here

Examples of javax.faces.event.ComponentSystemEventListener.processEvent()

    // processing on the wrapped renderer. This is necessary when wrapping the Mojarra ScriptRenderer or
    // StylesheetRenderer because they extend ScriptStyleBaseRenderer which attempts to add the component
    // associated with the specified event as a resource on the view root.
    if (wrappedRenderer instanceof ComponentSystemEventListener) {
      ComponentSystemEventListener wrappedListener = (ComponentSystemEventListener) wrappedRenderer;
      wrappedListener.processEvent(event);
    }
    else {
      logger.debug("Wrapped renderer=[{0}] does not implement ComponentSystemEventListener", wrappedRenderer);
    }
  }
View Full Code Here

Examples of javax.faces.event.SystemEventListener.processEvent()

                        {
                            shouldProcessEvent = false;
                        }
                        if (shouldProcessEvent)
                        {
                            listener.processEvent(event);
                        }
                    }
                }
            }
        }
View Full Code Here

Examples of javax.portlet.EventPortlet.processEvent()

      }

      public void doFilter(EventRequest req, EventResponse resp, FilterChain chain) throws IOException, PortletException
      {
         EventPortlet eventPortlet = (EventPortlet)portlet;
         eventPortlet.processEvent(req, resp);
      }

      public void doFilter(RenderRequest req, RenderResponse resp, FilterChain chain) throws IOException, PortletException
      {
         portlet.render(req, resp);
View Full Code Here

Examples of org.apache.cloudstack.engine.subsystem.api.storage.DataObject.processEvent()

    @Override
    public AsyncCallFuture<VolumeApiResult> createVolumeAsync(VolumeInfo volume, DataStore dataStore) {
        AsyncCallFuture<VolumeApiResult> future = new AsyncCallFuture<VolumeApiResult>();
        DataObject volumeOnStore = dataStore.create(volume);
        volumeOnStore.processEvent(Event.CreateOnlyRequested);

        CreateVolumeContext<VolumeApiResult> context = new CreateVolumeContext<VolumeApiResult>(null, volumeOnStore,
                future);
        AsyncCallbackDispatcher<VolumeServiceImpl, CreateCmdResult> caller = AsyncCallbackDispatcher.create(this);
        caller.setCallback(caller.getTarget().createVolumeCallback(null, null)).setContext(context);
View Full Code Here

Examples of org.apache.cloudstack.engine.subsystem.api.storage.DataObject.processEvent()

            CreateVolumeContext<VolumeApiResult> context) {
        CreateCmdResult result = callback.getResult();
        DataObject vo = context.getVolume();
        String errMsg = null;
        if (result.isSuccess()) {
            vo.processEvent(Event.OperationSuccessed, result.getAnswer());
        } else {
            vo.processEvent(Event.OperationFailed);
            errMsg = result.getResult();
        }
        VolumeApiResult volResult = new VolumeApiResult((VolumeObject) vo);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.