Codota Logo
UserActivityRegistryRemote.activate
Code IndexAdd Codota to your IDE (free)

How to use
activate
method
in
org.openbase.bco.registry.user.activity.remote.UserActivityRegistryRemote

Best Java code snippets using org.openbase.bco.registry.user.activity.remote.UserActivityRegistryRemote.activate (Showing top 1 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Gson g =
  • Codota Iconnew Gson()
  • Codota IconGsonBuilder gsonBuilder;gsonBuilder.create()
  • Codota Iconnew GsonBuilder().create()
  • Smart code suggestions by Codota
}
origin: org.openbase.bco/registry.user.activity.remote

/**
 * @return @throws InterruptedException
 *
 * @throws NotAvailableException
 */
public synchronized static UserActivityRegistryRemote getRegistry() throws InterruptedException, NotAvailableException {
  try {
    if (shutdown) {
      throw new InvalidStateException("Remote service is shutting down!");
    }
    if (registryRemote == null) {
      try {
        registryRemote = new UserActivityRegistryRemote();
        registryRemote.init();
        registryRemote.activate();
        registryRemote.lock(REMOTE_LOCK);
      } catch (Exception ex) {
        if (registryRemote != null) {
          registryRemote.unlock(REMOTE_LOCK);
          registryRemote.shutdown();
          registryRemote = null;
        }
        throw ExceptionPrinter.printHistoryAndReturnThrowable(new CouldNotPerformException("Could not start cached user activity registry remote!", ex), LOGGER);
      }
    }
    return registryRemote;
  } catch (CouldNotPerformException ex) {
    throw new NotAvailableException("cached user activity registry", ex);
  }
}
org.openbase.bco.registry.user.activity.remoteUserActivityRegistryRemoteactivate

Popular methods of UserActivityRegistryRemote

  • waitForData
  • <init>
  • addDataObserver
  • getData
  • getIntenalPriorizedDataObservable
  • getUserActivityClassByType
  • getUserActivityConfigById
  • getUserActivityConfigs
  • init
  • isConnected
  • isDataAvailable
  • isUserActivityClassRegistryConsistent
  • isDataAvailable,
  • isUserActivityClassRegistryConsistent,
  • isUserActivityConfigRegistryConsistent,
  • lock,
  • registerRemoteRegistry,
  • reinit,
  • requestData,
  • shutdown,
  • unlock

Popular in Java

  • Start an intent from android
  • onRequestPermissionsResult (Fragment)
  • getSharedPreferences (Context)
  • startActivity (Activity)
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • Timer (java.util)
    A facility for threads to schedule tasks for future execution in a background thread. Tasks may be s
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