Interface Backgroundable<T>

All Known Subinterfaces:
ACLableExistBuilderMain, ACLBackgroundPathAndBytesable<T>, ACLCreateModeBackgroundPathAndBytesable<T>, ACLCreateModeStatBackgroundPathAndBytesable<T>, AddWatchBuilder, AddWatchBuilder2, BackgroundEnsembleable<T>, BackgroundPathable<T>, BackgroundPathableQuietlyable<T>, BackgroundPathAndBytesable<T>, BackgroundVersionable, ChildrenDeletable, CreateBackgroundModeACLable, CreateBackgroundModeStatACLable, CreateBuilder, CreateBuilder2, CreateBuilderMain, CreateProtectACLCreateModePathAndBytesable<T>, CuratorMultiTransaction, DeleteBuilder, DeleteBuilderMain, ExistsBuilder, ExistsBuilderMain, GetACLBuilder, GetChildrenBuilder, GetConfigBuilder, GetDataBuilder, GetDataWatchBackgroundStatable, GuaranteeableDeletable, ProtectACLCreateModePathAndBytesable<T>, ProtectACLCreateModeStatPathAndBytesable<T>, ReconfigBuilder, RemoveWatchesLocal, RemoveWatchesType, SetDataBackgroundVersionable, SetDataBuilder, SyncBuilder, WatchBackgroundEnsembleable<T>
All Known Implementing Classes:
AddWatchBuilderImpl, CreateBuilderImpl, CuratorMultiTransactionImpl, DeleteBuilderImpl, ExistsBuilderImpl, GetACLBuilderImpl, GetChildrenBuilderImpl, GetConfigBuilderImpl, GetDataBuilderImpl, ReconfigBuilderImpl, RemoveWatchesBuilderImpl, SetACLBuilderImpl, SetDataBuilderImpl, SyncBuilderImpl, WatchesBuilderImpl

public interface Backgroundable<T>
  • Method Details

    • inBackground

      T inBackground()
      Perform the action in the background
      Returns:
      this
    • inBackground

      T inBackground(Object context)
      Perform the action in the background
      Parameters:
      context - context object - will be available from the event sent to the listener
      Returns:
      this
    • inBackground

      T inBackground(BackgroundCallback callback)
      Perform the action in the background
      Parameters:
      callback - a functor that will get called when the operation has completed
      Returns:
      this
    • inBackground

      T inBackground(BackgroundCallback callback, Object context)
      Perform the action in the background
      Parameters:
      callback - a functor that will get called when the operation has completed
      context - context object - will be available from the event sent to the listener
      Returns:
      this
    • inBackground

      T inBackground(BackgroundCallback callback, Executor executor)
      Perform the action in the background
      Parameters:
      callback - a functor that will get called when the operation has completed
      executor - executor to use for the background call
      Returns:
      this
    • inBackground

      T inBackground(BackgroundCallback callback, Object context, Executor executor)
      Perform the action in the background
      Parameters:
      callback - a functor that will get called when the operation has completed
      context - context object - will be available from the event sent to the listener
      executor - executor to use for the background call
      Returns:
      this