public abstract class AbstractObjectInputStreamFactory extends org.apache.hadoop.service.AbstractService implements ObjectInputStreamFactory
ObjectInputStreamFactory.ObjectInputStreamFactory.StreamFactoryCallbacks| Modifier | Constructor and Description |
|---|---|
protected |
AbstractObjectInputStreamFactory(String name)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
bind(FactoryBindingParameters factoryBindingParameters)
Bind to the callbacks.
|
protected ObjectInputStreamFactory.StreamFactoryCallbacks |
callbacks()
Get the factory callbacks.
|
boolean |
hasCapability(String capability)
Return base capabilities of all stream factories,
defining what the base ObjectInputStream class does.
|
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, serviceInit, serviceStart, serviceStop, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStopclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfactoryRequirements, readObject, streamTypeprotected AbstractObjectInputStreamFactory(String name)
name - service name.public void bind(FactoryBindingParameters factoryBindingParameters) throws IOException
The base class checks service state then stores the callback interface.
bind in interface ObjectInputStreamFactoryfactoryBindingParameters - parameters for the factory bindingIOException - if IO problems.public boolean hasCapability(String capability)
hasCapability in interface org.apache.hadoop.fs.StreamCapabilitiescapability - string to query the stream support for.protected ObjectInputStreamFactory.StreamFactoryCallbacks callbacks()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.