Codota Logo
StateMachine$FsmImpl.getFsmId
Code IndexAdd Codota to your IDE (free)

How to use
getFsmId
method
in
org.apache.statemachine.StateMachine$FsmImpl

Best Java code snippets using org.apache.statemachine.StateMachine$FsmImpl.getFsmId (Showing top 8 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Connection c =
  • Codota IconDataSource dataSource;dataSource.getConnection()
  • Codota IconString url;DriverManager.getConnection(url)
  • Codota IconIdentityDatabaseUtil.getDBConnection()
  • Smart code suggestions by Codota
}
origin: org.apache.omid/omid-statemachine

@Override
public void deferEvent(DeferrableEvent e) {
  if (LOG.isDebugEnabled()) {
    LOG.debug("FSM-{}: deferred {}@{}",
         getFsmId(), e.getClass().getSimpleName(), System.identityHashCode(e));
  }
  deferred.add(e);
}
origin: org.apache.omid/statemachine

@Override
public void deferEvent(DeferrableEvent e) {
  if (LOG.isDebugEnabled()) {
    LOG.debug("FSM-{}: deferred {}@{}",
         getFsmId(), e.getClass().getSimpleName(), System.identityHashCode(e));
  }
  deferred.add(e);
}
origin: org.apache.omid/statemachine

  @Override
  protected void finalize() throws Throwable {
    super.finalize();
    LOG.debug("FSM-{}: Finalizing", getFsmId());
  }
}
origin: org.apache.omid/omid-statemachine

  @Override
  protected void finalize() throws Throwable {
    super.finalize();
    LOG.debug("FSM-{}: Finalizing", getFsmId());
  }
}
origin: org.apache.omid/omid-statemachine

void setState(final State curState, final State newState) {
  if (curState != state) {
    LOG.error("FSM-{}: Tried to transition from {} to {}, but current state is {}",
         getFsmId(), state, newState, curState);
    throw new IllegalArgumentException();
  }
  state = newState;
  if (LOG.isDebugEnabled()) {
    LOG.debug("FSM-{}: State transition {} -> {}", getFsmId(), curState, newState);
  }
}
origin: org.apache.omid/statemachine

void setState(final State curState, final State newState) {
  if (curState != state) {
    LOG.error("FSM-{}: Tried to transition from {} to {}, but current state is {}",
         getFsmId(), state, newState, curState);
    throw new IllegalArgumentException();
  }
  state = newState;
  if (LOG.isDebugEnabled()) {
    LOG.debug("FSM-{}: State transition {} -> {}", getFsmId(), curState, newState);
  }
}
origin: org.apache.omid/omid-statemachine

boolean processEvent(Event e) {
  if (LOG.isDebugEnabled()) {
    LOG.debug("FSM-{}: Received event {}@{} in state {}@{}",
         getFsmId(), e.getClass().getSimpleName(),
         System.identityHashCode(e),
         state.getClass().getSimpleName(),
         System.identityHashCode(state));
  }
  try {
    State newState = state.dispatch(e);
    if (newState != state) {
      setState(state, newState);
      return true;
    }
  } catch (Throwable t) {
    LOG.error("Caught throwable while handling event", t);
    errorDeferredEvents(t);
  }
  return false;
}
origin: org.apache.omid/statemachine

boolean processEvent(Event e) {
  if (LOG.isDebugEnabled()) {
    LOG.debug("FSM-{}: Received event {}@{} in state {}@{}",
         getFsmId(), e.getClass().getSimpleName(),
         System.identityHashCode(e),
         state.getClass().getSimpleName(),
         System.identityHashCode(state));
  }
  try {
    State newState = state.dispatch(e);
    if (newState != state) {
      setState(state, newState);
      return true;
    }
  } catch (Throwable t) {
    LOG.error("Caught throwable while handling event", t);
    errorDeferredEvents(t);
  }
  return false;
}
org.apache.statemachineStateMachine$FsmImplgetFsmId

Popular methods of StateMachine$FsmImpl

  • <init>
  • errorDeferredEvents
  • processEvent
  • setState

Popular in Java

  • Finding current android device location
  • getSharedPreferences (Context)
  • setRequestProperty (URLConnection)
  • getExternalFilesDir (Context)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • Point (java.awt)
    A point representing a location in (x, y) coordinate space, specified in integer precision.
  • FileOutputStream (java.io)
    A file output stream is an output stream for writing data to aFile or to a FileDescriptor. Whether
  • InputStreamReader (java.io)
    An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and decodes
  • Iterator (java.util)
    An iterator over a collection. Iterator takes the place of Enumeration in the Java Collections Frame
  • TreeSet (java.util)
    A NavigableSet implementation based on a TreeMap. The elements are ordered using their Comparable, o
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now