Package io.aether.net.fastMeta
Class PooledAutoFlushContext
- java.lang.Object
-
- io.aether.net.fastMeta.MetaContextBase
-
- io.aether.net.fastMeta.AutoFlushContext
-
- io.aether.net.fastMeta.PooledAutoFlushContext
-
- All Implemented Interfaces:
MetaContext,io.aether.utils.ToString
public class PooledAutoFlushContext extends AutoFlushContext
-
-
Field Summary
-
Fields inherited from class io.aether.net.fastMeta.AutoFlushContext
maxPeriodMs, maxSize, minPeriodMs
-
Fields inherited from class io.aether.net.fastMeta.MetaContextBase
firstWritableFlag, flushAction, localApi, parent, toRemote, writableListener
-
Fields inherited from interface io.aether.net.fastMeta.MetaContext
CONTEXT_NOT_ACTIVE, CONTEXT_NOT_ACTIVE_AFUTURE, CONTEXT_NOT_ACTIVE_FUTURE, STUB
-
-
Constructor Summary
Constructors Constructor Description PooledAutoFlushContext(io.aether.utils.Destroyer destroyer, io.aether.utils.BufferPool bufferPool)PooledAutoFlushContext(io.aether.utils.Destroyer destroyer, io.aether.utils.BufferPool bufferPool, long minPeriodMs, long maxPeriodMs, int maxSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected io.aether.utils.dataio.DataInOutacquireDataOut()protected MetaContextBasecreateChildContext()protected voidreleaseDataOut(io.aether.utils.dataio.DataInOut out)-
Methods inherited from class io.aether.net.fastMeta.AutoFlushContext
fireWritable, isActive, notifyDataAdded
-
Methods inherited from class io.aether.net.fastMeta.MetaContextBase
applyLocalApiSwitch, connectionContext, findContext, flush, getLocalApi, invokeLocalMethodBefore, isEmpty, isLocallyActive, isLocked, lock, onFirstWritable, onFlush, onWritable, remoteDataToArray, remoteDataToArray, retire, runFlushLifecycle, sendToRemote, setActivePredicate, setLocalApi, setLocalMethodBeforeListener, size, switchLocalApi, toAString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.aether.net.fastMeta.MetaContext
close, getProperty, invokeLocalMethodAfter, invokeRemoteMethodAfter, makeRemote, onFlushData, sendToRemote
-
-
-
-
Constructor Detail
-
PooledAutoFlushContext
public PooledAutoFlushContext(io.aether.utils.Destroyer destroyer, io.aether.utils.BufferPool bufferPool)
-
PooledAutoFlushContext
public PooledAutoFlushContext(io.aether.utils.Destroyer destroyer, io.aether.utils.BufferPool bufferPool, long minPeriodMs, long maxPeriodMs, int maxSize)
-
-
Method Detail
-
acquireDataOut
protected io.aether.utils.dataio.DataInOut acquireDataOut()
- Overrides:
acquireDataOutin classMetaContextBase
-
releaseDataOut
protected void releaseDataOut(io.aether.utils.dataio.DataInOut out)
- Overrides:
releaseDataOutin classMetaContextBase
-
createChildContext
protected MetaContextBase createChildContext()
- Overrides:
createChildContextin classMetaContextBase
-
-