- call() - Method in class com.yahoo.jdisc.handler.CallableRequestDispatch
-
- call() - Method in class com.yahoo.jdisc.handler.CallableResponseDispatch
-
- call() - Method in class com.yahoo.jdisc.test.ServerProviderConformanceTest.CallableCompletionHandler
-
- call() - Method in class com.yahoo.jdisc.test.TestDriver.CloseTask
-
- CallableCompletionHandler() - Constructor for class com.yahoo.jdisc.test.ServerProviderConformanceTest.CallableCompletionHandler
-
- CallableRequestDispatch - Class in com.yahoo.jdisc.handler
-
- CallableRequestDispatch() - Constructor for class com.yahoo.jdisc.handler.CallableRequestDispatch
-
- CallableResponseDispatch - Class in com.yahoo.jdisc.handler
-
- CallableResponseDispatch(ResponseHandler) - Constructor for class com.yahoo.jdisc.handler.CallableResponseDispatch
-
- callInOtherThread(Callable<Void>) - Method in class com.yahoo.jdisc.test.ServerProviderConformanceTest.TestRequestHandler
-
- cancel(boolean) - Method in class com.yahoo.jdisc.handler.FastContentOutputStream
-
- cancel(boolean) - Method in class com.yahoo.jdisc.handler.FastContentWriter
-
- cancel(boolean) - Method in class com.yahoo.jdisc.handler.FutureCompletion
-
- cancel(boolean) - Method in class com.yahoo.jdisc.handler.FutureConjunction
-
- cancel(boolean) - Method in class com.yahoo.jdisc.handler.FutureResponse
-
- cancel(boolean) - Method in class com.yahoo.jdisc.handler.RequestDispatch
-
- cancel(boolean) - Method in class com.yahoo.jdisc.handler.ResponseDispatch
-
- cancel - Variable in class com.yahoo.jdisc.Request
-
- cancel() - Method in class com.yahoo.jdisc.Request
-
Mark this request as cancelled and frees any resources held by the request if possible.
- channel - Variable in class com.yahoo.jdisc.handler.BlockingContentWriter
-
- clear() - Method in class com.yahoo.jdisc.application.BindingRepository
-
Removes all bindings from this repository.
- clear() - Method in class com.yahoo.jdisc.HeaderFields
-
- ClientApplication - Interface in com.yahoo.jdisc.client
-
This interface extends the
Application
interface, and is intended to be used with the
ClientDriver
to implement stand-alone client applications on top of jDISC.
- clientBindings - Variable in class com.yahoo.jdisc.application.ContainerBuilder
-
- clientBindings() - Method in class com.yahoo.jdisc.application.ContainerBuilder
-
- clientBindings(String) - Method in class com.yahoo.jdisc.application.ContainerBuilder
-
- ClientDriver - Class in com.yahoo.jdisc.client
-
- ClientDriver() - Constructor for class com.yahoo.jdisc.client.ClientDriver
-
- ClientProvider - Interface in com.yahoo.jdisc.service
-
This interface defines a component that is capable of acting as a client to an external server.
- close() - Method in class com.yahoo.jdisc.AbstractResource.DebugResourceReference
-
- close() - Method in class com.yahoo.jdisc.AbstractResource.NoDebugResourceReference
-
- close() - Method in class com.yahoo.jdisc.application.ResourcePool
-
- close() - Method in class com.yahoo.jdisc.handler.AbstractContentOutputStream
-
- close() - Method in class com.yahoo.jdisc.handler.BlockingContentWriter
-
Closes the underlying
ContentChannel
and waits for the operation to complete.
- close(CompletionHandler) - Method in class com.yahoo.jdisc.handler.BufferedContentChannel
-
- close(CompletionHandler) - Method in interface com.yahoo.jdisc.handler.ContentChannel
-
Closes this ContentChannel.
- close() - Method in class com.yahoo.jdisc.handler.FastContentWriter
-
- close(CompletionHandler) - Method in class com.yahoo.jdisc.handler.NullContent
-
- close(CompletionHandler) - Method in class com.yahoo.jdisc.handler.ReadableContentChannel
-
- close() - Method in class com.yahoo.jdisc.handler.UnsafeContentInputStream
-
- close(CompletionHandler) - Method in class com.yahoo.jdisc.ProxyRequestHandler.ProxyContentChannel
-
- close() - Method in class com.yahoo.jdisc.ReferencedResource
-
- close() - Method in interface com.yahoo.jdisc.ResourceReference
-
Decrements the reference count of the referenced resource.
- close() - Method in interface com.yahoo.jdisc.service.ServerProvider
-
This is a synchronous method to close the listen port (or equivalent) of this ServerProvider and flush any
input buffers that will cause calls to
CurrentContainer.newReference(URI)
.
- close(CompletionHandler) - Method in class com.yahoo.jdisc.test.NonWorkingContentChannel
-
- close() - Method in class com.yahoo.jdisc.test.NonWorkingServerProvider
-
- close() - Method in class com.yahoo.jdisc.test.TestDriver
-
Initiatiates shut down of this TestDriver and waits for it to complete.
- closeCompletion - Variable in class com.yahoo.jdisc.handler.BufferedContentChannel
-
- closed - Variable in class com.yahoo.jdisc.handler.BufferedContentChannel
-
- closed - Variable in class com.yahoo.jdisc.handler.FastContentWriter
-
- closed - Variable in class com.yahoo.jdisc.handler.ReadableContentChannel
-
- closed - Variable in class com.yahoo.jdisc.ProxyRequestHandler.ProxyCompletionHandler
-
- closed - Variable in class com.yahoo.jdisc.ProxyRequestHandler.ProxyResponseHandler
-
- closeResponse(ContentChannel) - Method in class com.yahoo.jdisc.test.ServerProviderConformanceTest.TestRequestHandler
-
- closeResponseInOtherThread(ContentChannel) - Method in class com.yahoo.jdisc.test.ServerProviderConformanceTest.TestRequestHandler
-
- closeTask - Variable in class com.yahoo.jdisc.test.TestDriver
-
- CloseTask() - Constructor for class com.yahoo.jdisc.test.TestDriver.CloseTask
-
- collection() - Method in class com.yahoo.jdisc.application.GuiceRepository
-
- collection() - Method in class com.yahoo.jdisc.application.ServerRepository
-
- com.yahoo.jdisc - package com.yahoo.jdisc
-
Provides the common classes and interfaces of the jDISC core.
- com.yahoo.jdisc.application - package com.yahoo.jdisc.application
-
Provides classes and interfaces for implementing an
Application
.
- com.yahoo.jdisc.client - package com.yahoo.jdisc.client
-
- com.yahoo.jdisc.handler - package com.yahoo.jdisc.handler
-
- com.yahoo.jdisc.service - package com.yahoo.jdisc.service
-
- com.yahoo.jdisc.test - package com.yahoo.jdisc.test
-
Provides classes and interfaces for implementing unit tests of jDISC components.
- compare(String, String, boolean) - Static method in class com.yahoo.jdisc.application.GlobPattern
-
- compareTo(GlobPattern) - Method in class com.yahoo.jdisc.application.GlobPattern
-
- compareTo(UriPattern) - Method in class com.yahoo.jdisc.application.UriPattern
-
- compile(String) - Static method in class com.yahoo.jdisc.application.GlobPattern
-
- completed() - Method in interface com.yahoo.jdisc.handler.CompletionHandler
-
Invoked when an operation has completed.
- completed() - Method in class com.yahoo.jdisc.handler.FastContentWriter.SimpleCompletionHandler
-
- completed() - Method in class com.yahoo.jdisc.handler.FutureCompletion
-
- completed() - Method in class com.yahoo.jdisc.ProxyRequestHandler.IgnoredCompletion
-
- completed() - Method in class com.yahoo.jdisc.ProxyRequestHandler.ProxyCompletionHandler
-
- completed() - Method in class com.yahoo.jdisc.test.NonWorkingCompletionHandler
-
- completed() - Method in class com.yahoo.jdisc.test.ServerProviderConformanceTest.CallableCompletionHandler
-
- completeInOtherThread(CompletionHandler, Class<?>...) - Method in class com.yahoo.jdisc.test.ServerProviderConformanceTest.TestRequestHandler
-
- CompletionHandler - Interface in com.yahoo.jdisc.handler
-
This interface defines a handler for consuming the result of an asynchronous I/O operation.
- completionHandler - Variable in class com.yahoo.jdisc.handler.FastContentWriter
-
- completions - Variable in class com.yahoo.jdisc.handler.RequestDispatch
-
- completions - Variable in class com.yahoo.jdisc.handler.ResponseDispatch
-
- CONFLICT - Static variable in interface com.yahoo.jdisc.Response.Status
-
- ConformanceException() - Constructor for exception com.yahoo.jdisc.test.ServerProviderConformanceTest.ConformanceException
-
- ConformanceException(ServerProviderConformanceTest.Event) - Constructor for exception com.yahoo.jdisc.test.ServerProviderConformanceTest.ConformanceException
-
In some tests, we want to ensure that a thrown exception has been handled by the framework before
we do something else.
- connect() - Method in class com.yahoo.jdisc.handler.RequestDispatch
-
- connect(ResponseHandler) - Method in class com.yahoo.jdisc.handler.ResponseDispatch
-
- connect(ResponseHandler) - Method in class com.yahoo.jdisc.Request
-
Attempts to resolve and connect to the
RequestHandler
appropriate for the
URI
of this Request.
- connectFastWriter() - Method in class com.yahoo.jdisc.handler.RequestDispatch
-
- connectFastWriter(ResponseHandler) - Method in class com.yahoo.jdisc.handler.ResponseDispatch
-
- connectRequest(String, ResponseHandler) - Method in class com.yahoo.jdisc.test.TestDriver
-
- connectTo(ContentChannel) - Method in class com.yahoo.jdisc.handler.BufferedContentChannel
-
Connects this BufferedContentChannel to a ContentChannel.
- consumer - Variable in class com.yahoo.jdisc.application.ContainerThread
-
- consumer() - Method in class com.yahoo.jdisc.application.ContainerThread
-
- consumer - Variable in class com.yahoo.jdisc.application.MetricImpl
-
- consumeRequestContent() - Method in class com.yahoo.jdisc.handler.ThreadedRequestHandler.RequestTask
-
- consumerProvider - Variable in class com.yahoo.jdisc.application.MetricProvider
-
- container - Variable in class com.yahoo.jdisc.application.AbstractApplication
-
- container() - Method in class com.yahoo.jdisc.application.AbstractApplication
-
- Container - Interface in com.yahoo.jdisc
-
This is the immutable Container.
- container - Variable in class com.yahoo.jdisc.Request
-
- container() - Method in class com.yahoo.jdisc.Request
-
Returns the
Container
for which this Request was created.
- container - Variable in class com.yahoo.jdisc.service.AbstractServerProvider
-
- container() - Method in class com.yahoo.jdisc.service.AbstractServerProvider
-
- ContainerActivator - Interface in com.yahoo.jdisc.application
-
This interface defines the API for changing the active
Container
of a jDISC application.
- ContainerBuilder - Class in com.yahoo.jdisc.application
-
- ContainerBuilder(Iterable<Module>) - Constructor for class com.yahoo.jdisc.application.ContainerBuilder
-
- ContainerNotReadyException - Exception in com.yahoo.jdisc.service
-
- ContainerNotReadyException() - Constructor for exception com.yahoo.jdisc.service.ContainerNotReadyException
-
Constructs a new instance of this class with a detail message.
- ContainerThread - Class in com.yahoo.jdisc.application
-
This class decorates
Thread
to allow for internal jDISC optimizations.
- ContainerThread(Runnable, MetricConsumer) - Constructor for class com.yahoo.jdisc.application.ContainerThread
-
Allocates a new ContainerThread object.
- ContainerThread.Factory - Class in com.yahoo.jdisc.application
-
- contains(String, String) - Method in class com.yahoo.jdisc.HeaderFields
-
Convenience method for checking whether or not a named header contains a specific value.
- containsIgnoreCase(String, String) - Method in class com.yahoo.jdisc.HeaderFields
-
Convenience method for checking whether or not a named header contains a specific value, regardless of case.
- containsKey(Object) - Method in class com.yahoo.jdisc.HeaderFields
-
- containsValue(Object) - Method in class com.yahoo.jdisc.HeaderFields
-
- content - Variable in class com.yahoo.jdisc.handler.BufferedContentChannel
-
- content - Variable in class com.yahoo.jdisc.handler.ThreadedRequestHandler.RequestTask
-
- content - Variable in class com.yahoo.jdisc.handler.UnsafeContentInputStream
-
- content - Variable in class com.yahoo.jdisc.HeaderFields
-
- ContentChannel - Interface in com.yahoo.jdisc.handler
-
This interface defines a callback for asynchronously writing the content of a
Request
or a
Response
to a recipient.
- ContentInputStream - Class in com.yahoo.jdisc.handler
-
- ContentInputStream(ReadableContentChannel) - Constructor for class com.yahoo.jdisc.handler.ContentInputStream
-
- context - Variable in class com.yahoo.jdisc.Request
-
- context() - Method in class com.yahoo.jdisc.Request
-
Returns the named application context objects.
- context - Variable in class com.yahoo.jdisc.Response
-
- context() - Method in class com.yahoo.jdisc.Response
-
Returns the named application context objects.
- CONTINUE - Static variable in interface com.yahoo.jdisc.Response.Status
-
1xx: Informational - Request received, continuing process.
- createContext(Map<String, ?>) - Method in interface com.yahoo.jdisc.application.MetricConsumer
-
Creates a Metric.Context object that encapsulates the given properties.
- createContext(Map<String, ?>) - Method in class com.yahoo.jdisc.application.MetricImpl
-
- createContext(Map<String, ?>) - Method in interface com.yahoo.jdisc.Metric
-
- CREATED - Static variable in interface com.yahoo.jdisc.Response.Status
-
- createModule() - Method in class com.yahoo.jdisc.application.GuiceRepository
-
- creationTime - Variable in class com.yahoo.jdisc.Request
-
- creationTime(TimeUnit) - Method in class com.yahoo.jdisc.Request
-
Returns the time at which this Request was created.
- current - Variable in class com.yahoo.jdisc.handler.AbstractContentOutputStream
-
- currentConsumer() - Method in class com.yahoo.jdisc.application.MetricImpl
-
- CurrentContainer - Interface in com.yahoo.jdisc.service
-
This interface declares a method to retrieve a reference to the current
Container
.
- currentState() - Method in class com.yahoo.jdisc.AbstractResource
-
Returns a string describing the current state of references in human-friendly terms.
- currentStateDebugWithLock() - Method in class com.yahoo.jdisc.AbstractResource
-
- currentTime() - Method in interface com.yahoo.jdisc.Timer
-
Convenience method for getting an java.util.Instance from currentTimeMillis().
- currentTimeMillis() - Method in interface com.yahoo.jdisc.Timer
-
Returns the current time in milliseconds.
- safeClassCast(Class<T>, Class<?>) - Static method in class com.yahoo.jdisc.application.ContainerBuilder
-
- safeStringSplit(Object, String) - Static method in class com.yahoo.jdisc.application.ContainerBuilder
-
- scheduleClose() - Method in class com.yahoo.jdisc.test.TestDriver
-
Initiates the shut down of this TestDriver in another thread.
- scheduleTimeout(Request) - Method in interface com.yahoo.jdisc.TimeoutManager
-
Schedule timeout management for a request.
- scheme - Variable in class com.yahoo.jdisc.application.UriPattern.Match
-
- scheme - Variable in class com.yahoo.jdisc.application.UriPattern
-
- SEE_OTHER - Static variable in interface com.yahoo.jdisc.Response.Status
-
- seenKeys - Variable in class com.yahoo.jdisc.application.GuiceRepository.ElementCollector
-
- select(URI) - Method in interface com.yahoo.jdisc.application.BindingSetSelector
-
- serverBindings - Variable in class com.yahoo.jdisc.application.ContainerBuilder
-
- serverBindings() - Method in class com.yahoo.jdisc.application.ContainerBuilder
-
- serverBindings(String) - Method in class com.yahoo.jdisc.application.ContainerBuilder
-
- ServerProvider - Interface in com.yahoo.jdisc.service
-
This interface defines a component that is capable of acting as a server for an external client.
- ServerProviderConformanceTest - Class in com.yahoo.jdisc.test
-
- ServerProviderConformanceTest() - Constructor for class com.yahoo.jdisc.test.ServerProviderConformanceTest
-
- ServerProviderConformanceTest.Adapter<T extends ServerProvider,U,V> - Interface in com.yahoo.jdisc.test
-
This interface declares the adapter between the general conformance test and an actual ServerProvider
implementation.
- ServerProviderConformanceTest.CallableCompletionHandler - Class in com.yahoo.jdisc.test
-
- ServerProviderConformanceTest.ConformanceException - Exception in com.yahoo.jdisc.test
-
An instance of this exception is thrown within the conformance tests that imply that they will throw an
exception.
- ServerProviderConformanceTest.Event - Class in com.yahoo.jdisc.test
-
Wrapper around CountDownLatch for single-occurrence events.
- ServerProviderConformanceTest.RequestType - Enum in com.yahoo.jdisc.test
-
- ServerProviderConformanceTest.TestRequestHandler - Class in com.yahoo.jdisc.test
-
- ServerProviderConformanceTest.TestRequestHandler.TaskHandle - Class in com.yahoo.jdisc.test
-
- serverProviders - Variable in class com.yahoo.jdisc.application.ContainerBuilder
-
- serverProviders() - Method in class com.yahoo.jdisc.application.ContainerBuilder
-
- ServerRepository - Class in com.yahoo.jdisc.application
-
- ServerRepository(GuiceRepository) - Constructor for class com.yahoo.jdisc.application.ServerRepository
-
- serverRequest - Variable in class com.yahoo.jdisc.Request
-
- servers - Variable in class com.yahoo.jdisc.application.ServerRepository
-
- SERVICE_UNAVAILABLE - Static variable in interface com.yahoo.jdisc.Response.Status
-
- set(String, Number, Metric.Context) - Method in interface com.yahoo.jdisc.application.MetricConsumer
-
Consume a call to Metric.set(String, Number, Metric.Context).
- set(String, Number, Metric.Context) - Method in class com.yahoo.jdisc.application.MetricImpl
-
- set(String, Number, Metric.Context) - Method in interface com.yahoo.jdisc.Metric
-
Set a metric value.
- setAppContext(Object) - Method in class com.yahoo.jdisc.application.ContainerBuilder
-
- setBindingMatch(BindingMatch<RequestHandler>) - Method in class com.yahoo.jdisc.Request
-
- setError(Throwable) - Method in class com.yahoo.jdisc.Response
-
Sets the error of this response.
- setServerRequest(boolean) - Method in class com.yahoo.jdisc.Request
-
- setStatus(int) - Method in class com.yahoo.jdisc.Response
-
Sets the status code of this response.
- setTaskFailure(Exception) - Method in class com.yahoo.jdisc.test.ServerProviderConformanceTest.TestRequestHandler
-
- setTimeout(long, TimeUnit) - Method in class com.yahoo.jdisc.handler.ThreadedRequestHandler
-
Sets the timeout that this ThreadedRequestHandler sets on all handled
Request
s.
- setTimeout(long, TimeUnit) - Method in class com.yahoo.jdisc.Request
-
- setTimeoutManager(TimeoutManager) - Method in class com.yahoo.jdisc.Request
-
- setUri(URI) - Method in class com.yahoo.jdisc.Request
-
Sets the Uniform Resource Identifier used by the
Container
to resolve the appropriate
RequestHandler
for this Request.
- setValue(String) - Method in class com.yahoo.jdisc.HeaderFields.MyEntry
-
- SharedResource - Interface in com.yahoo.jdisc
-
This interface defines a reference counted resource.
- shutdown() - Method in class com.yahoo.jdisc.client.AbstractClientApplication
-
- SimpleApplication() - Constructor for class com.yahoo.jdisc.test.TestDriver.SimpleApplication
-
- SimpleCompletionHandler() - Constructor for class com.yahoo.jdisc.handler.FastContentWriter.SimpleCompletionHandler
-
- size() - Method in class com.yahoo.jdisc.HeaderFields
-
- sort(Collection<Map.Entry<UriPattern, T>>) - Static method in class com.yahoo.jdisc.application.BindingSet
-
- stackTrace - Variable in class com.yahoo.jdisc.test.ServerProviderConformanceTest.TestRequestHandler.TaskHandle
-
- start() - Method in interface com.yahoo.jdisc.application.Application
-
This method is called by the ApplicationLoader
just after creating this Application instance.
- start(Bundle) - Method in class com.yahoo.jdisc.application.BundleInstaller
-
- start() - Method in interface com.yahoo.jdisc.application.OsgiFramework
-
This method starts the framework instance.
- start() - Method in class com.yahoo.jdisc.service.AbstractClientProvider
-
- start() - Method in interface com.yahoo.jdisc.service.ClientProvider
-
This is a synchronous method to configure this ClientProvider.
- start() - Method in interface com.yahoo.jdisc.service.ServerProvider
-
This is a synchronous method to configure this ServerProvider and bind the listen port (or equivalent).
- start() - Method in class com.yahoo.jdisc.test.NonWorkingClientProvider
-
- start() - Method in class com.yahoo.jdisc.test.NonWorkingOsgiFramework
-
- start() - Method in class com.yahoo.jdisc.test.NonWorkingServerProvider
-
- start() - Method in class com.yahoo.jdisc.test.TestDriver.SimpleApplication
-
- startBundles(List<Bundle>, boolean) - Method in interface com.yahoo.jdisc.application.OsgiFramework
-
Starts the given Bundle
s.
- startBundles(List<Bundle>, boolean) - Method in class com.yahoo.jdisc.test.NonWorkingOsgiFramework
-
- status - Variable in class com.yahoo.jdisc.Response
-
- stop() - Method in class com.yahoo.jdisc.application.AbstractApplication
-
- stop() - Method in interface com.yahoo.jdisc.application.Application
-
This method is called by the ApplicationLoader
after the corresponding signal has been issued by the
controlling start script.
- stop(Bundle) - Method in class com.yahoo.jdisc.application.BundleInstaller
-
- stop() - Method in interface com.yahoo.jdisc.application.OsgiFramework
-
This method synchronously shuts down the framework.
- stop() - Method in class com.yahoo.jdisc.test.NonWorkingOsgiFramework
-
- stop() - Method in class com.yahoo.jdisc.test.TestDriver.SimpleApplication
-
- stopAndUninstall(Bundle...) - Method in class com.yahoo.jdisc.application.BundleInstaller
-
- stopAndUninstall(Iterable<Bundle>) - Method in class com.yahoo.jdisc.application.BundleInstaller
-
- stopAndUninstallBundle(Bundle...) - Method in class com.yahoo.jdisc.application.AbstractApplication
-
- stopAndUninstallBundle(Iterable<Bundle>) - Method in class com.yahoo.jdisc.application.AbstractApplication
-
- str - Variable in class com.yahoo.jdisc.application.GlobPattern.Match
-
- SWITCHING_PROTOCOLS - Static variable in interface com.yahoo.jdisc.Response.Status
-
- SYSTEM_PROPERTY_NAME_DEBUG - Static variable in interface com.yahoo.jdisc.SharedResource
-