Class ResourceNotAvailable

java.lang.Object
org.jgrapes.core.internal.EventBase<Void>
org.jgrapes.core.Event<Void>
org.jgrapes.webconsole.base.events.ResourceNotAvailable
All Implemented Interfaces:
Future<Void>, org.jgrapes.core.Associator, org.jgrapes.core.Eligible

public class ResourceNotAvailable extends org.jgrapes.core.Event<Void>
A notification within the server side that an item that is expected to be associated with a channel is missing or not in a usable state.

The item specification is usually the key used by the Associator.

This event may be fired by components that require the item and should be handled by the component that is responsible for providing the item.

See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from interface java.util.concurrent.Future

    Future.State
  • Field Summary

    Fields inherited from class org.jgrapes.core.internal.EventBase

    completed, completionEvents, invokedFor
  • Constructor Summary

    Constructors
    Constructor
    Description
    ResourceNotAvailable(Object itemSpecification)
    Creates a new event.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the information that specifies the item.

    Methods inherited from class org.jgrapes.core.Event

    addCompletionEvent, associated, cancel, channels, channels, completionEvents, currentResults, defaultCriterion, forChannels, get, get, handled, handlingError, isCancelled, isDone, isEligibleFor, isStopped, processedBy, results, results, resumeHandling, setAssociated, setChannels, setRequiresResult, setResult, stop, suspendHandling, suspendHandling, tieTo, toString

    Methods inherited from class org.jgrapes.core.internal.EventBase

    disableTracking, enqueued, firstResultAssigned, isTracked, onCompletion

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.jgrapes.core.Associator

    associated, associated, associated, associatedGet

    Methods inherited from interface java.util.concurrent.Future

    exceptionNow, resultNow, state
  • Constructor Details

    • ResourceNotAvailable

      public ResourceNotAvailable(Object itemSpecification)
      Creates a new event.
      Parameters:
      itemSpecification - information about the item, usually the item’s class.
  • Method Details

    • itemSpecification

      Return the information that specifies the item.
      Returns:
      the item specification