public class PrefetchingInputStreamFactory extends AbstractObjectInputStreamFactory
Reads and validates prefetch configuration options during service init.
ObjectInputStreamFactory.StreamFactoryCallbacks| Constructor and Description |
|---|
PrefetchingInputStreamFactory() |
| Modifier and Type | Method and Description |
|---|---|
StreamFactoryRequirements |
factoryRequirements()
Calculate Return StreamFactoryRequirements.
|
ObjectInputStream |
readObject(ObjectReadParameters parameters)
Create a new input stream.
|
protected void |
serviceInit(org.apache.hadoop.conf.Configuration conf) |
InputStreamType |
streamType()
Get the input stream type.
|
bind, callbacks, hasCapabilityclose, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, serviceStart, serviceStop, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStoppublic InputStreamType streamType()
ObjectInputStreamFactoryprotected void serviceInit(org.apache.hadoop.conf.Configuration conf)
throws Exception
serviceInit in class org.apache.hadoop.service.AbstractServiceExceptionpublic ObjectInputStream readObject(ObjectReadParameters parameters) throws IOException
ObjectInputStreamFactoryparameters - parameters.IOException - problem creating the stream.public StreamFactoryRequirements factoryRequirements()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.