public class ClassicObjectInputStreamFactory extends AbstractObjectInputStreamFactory
S3AInputStream instances.ObjectInputStreamFactory.StreamFactoryCallbacks| Constructor and Description |
|---|
ClassicObjectInputStreamFactory() |
| Modifier and Type | Method and Description |
|---|---|
StreamFactoryRequirements |
factoryRequirements()
Get the number of background threads required for this factory.
|
boolean |
hasCapability(String capability)
Return base capabilities of all stream factories,
defining what the base ObjectInputStream class does.
|
ObjectInputStream |
readObject(ObjectReadParameters parameters)
Create a new input stream.
|
InputStreamType |
streamType()
Get the input stream type.
|
bind, callbacksclose, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, serviceInit, serviceStart, serviceStop, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStoppublic ObjectInputStream readObject(ObjectReadParameters parameters) throws IOException
ObjectInputStreamFactoryparameters - parameters.IOException - problem creating the stream.public boolean hasCapability(String capability)
AbstractObjectInputStreamFactoryhasCapability in interface org.apache.hadoop.fs.StreamCapabilitieshasCapability in class AbstractObjectInputStreamFactorycapability - string to query the stream support for.public InputStreamType streamType()
ObjectInputStreamFactorypublic StreamFactoryRequirements factoryRequirements()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.