Uses of Interface
com.yahoo.jdisc.SharedResource
-
Packages that use SharedResource Package Description com.yahoo.jdisc Provides the common classes and interfaces of the jDISC core.com.yahoo.jdisc.application Provides classes and interfaces for implementing anApplication
.com.yahoo.jdisc.core com.yahoo.jdisc.handler Provides classes and interfaces for implementing aRequestHandler
.com.yahoo.jdisc.service Provides classes and interfaces for implementing aClientProvider
or aServerProvider
.com.yahoo.jdisc.test Provides classes and interfaces for implementing unit tests of jDISC components. -
-
Uses of SharedResource in com.yahoo.jdisc
Classes in com.yahoo.jdisc with type parameters of type SharedResource Modifier and Type Class Description class
ReferencedResource<T extends SharedResource>
Utility class for working with reference-countedSharedResource
s.Subinterfaces of SharedResource in com.yahoo.jdisc Modifier and Type Interface Description interface
Container
This is the immutable Container.Classes in com.yahoo.jdisc that implement SharedResource Modifier and Type Class Description class
AbstractResource
This class provides a thread-safe implementation of theSharedResource
interface, and should be used for all subclasses ofRequestHandler
,ClientProvider
andServerProvider
.class
NoopSharedResource
An implementation ofSharedResource
that does not do anything.class
Request
This class represents a single request (which may have any content model that aServerProvider
chooses to implement).Methods in com.yahoo.jdisc with parameters of type SharedResource Modifier and Type Method Description static ResourceReference
References. fromResource(SharedResource resource)
-
Uses of SharedResource in com.yahoo.jdisc.application
Classes in com.yahoo.jdisc.application that implement SharedResource Modifier and Type Class Description class
ResourcePool
This is a utility class to help manageSharedResource
s while configuring aContainerBuilder
.Methods in com.yahoo.jdisc.application with type parameters of type SharedResource Modifier and Type Method Description <T extends SharedResource>
TResourcePool. add(T t)
Adds the givenSharedResource
to this ResourcePool.<T extends SharedResource>
TResourcePool. get(com.google.inject.Key<T> key)
Returns the appropriate instance for the given injection key.<T extends SharedResource>
TResourcePool. get(java.lang.Class<T> type)
Returns the appropriate instance for the given injection type.<T extends SharedResource>
TResourcePool. retain(T t)
Retains and adds the givenSharedResource
to this ResourcePool. -
Uses of SharedResource in com.yahoo.jdisc.core
Classes in com.yahoo.jdisc.core that implement SharedResource Modifier and Type Class Description class
ActiveContainer
-
Uses of SharedResource in com.yahoo.jdisc.handler
Subinterfaces of SharedResource in com.yahoo.jdisc.handler Modifier and Type Interface Description interface
RequestHandler
This interface defines a component that is capable of acting as a handler for aRequest
.Classes in com.yahoo.jdisc.handler that implement SharedResource Modifier and Type Class Description class
AbstractRequestHandler
This class provides an abstractRequestHandler
implementation with reasonable defaults for everything butRequestHandler.handleRequest(Request, ResponseHandler)
.class
ThreadedRequestHandler
This class implements aRequestHandler
with a synchronousThreadedRequestHandler.handleRequest(Request, BufferedContentChannel, ResponseHandler)
API for handlingRequest
s. -
Uses of SharedResource in com.yahoo.jdisc.service
Subinterfaces of SharedResource in com.yahoo.jdisc.service Modifier and Type Interface Description interface
ClientProvider
This interface defines a component that is capable of acting as a client to an external server.interface
ServerProvider
This interface defines a component that is capable of acting as a server for an external client.Classes in com.yahoo.jdisc.service that implement SharedResource Modifier and Type Class Description class
AbstractClientProvider
This is a convenient parent class forClientProvider
with default implementations for all but the essentialRequestHandler.handleRequest(Request, ResponseHandler)
method.class
AbstractServerProvider
This is a convenient parent class forServerProvider
with default implementations for all but the essentialServerProvider.start()
andServerProvider.close()
methods. -
Uses of SharedResource in com.yahoo.jdisc.test
Classes in com.yahoo.jdisc.test that implement SharedResource Modifier and Type Class Description class
NonWorkingClientProvider
class
NonWorkingRequestHandler
class
NonWorkingServerProvider
-