R
- type of the read payloadW
- type of the write payloadpublic class DesiredRateReadWriteExpressionImpl<R,W> extends DesiredRateReadWriteExpressionListImpl<R,W> implements DesiredRateReadWriteExpression<R,W>
DesiredRateReadWriteExpression
.Constructor and Description |
---|
DesiredRateReadWriteExpressionImpl(DesiredRateExpression<R> desiredRateExpression,
WriteExpression<W> writeExpression)
Creates an expression that can be both read at the desired rate and written.
|
Modifier and Type | Method and Description |
---|---|
DesiredRateReadWriteExpressionImpl<R,W> |
as(String name)
Changes the name for this expression
|
WriteBuffer |
createWriteBuffer()
The buffer that will contain the data to write.
|
DataRecipe |
getDataRecipe()
The recipe for connect the channels for this expression.
|
DesiredRateExpressionImpl<R> |
getDesiredRateExpressionImpl()
The implementation of this expression.
|
Function<R> |
getFunction()
The function that calculates this expression.
|
String |
getName()
Name of this expression.
|
WriteExpressionImpl<W> |
getWriteExpressionImpl()
The implementation of this expression.
|
WriteFunction<W> |
getWriteFunction()
The function that implements this expression.
|
and, and, and, getDesiredRateExpressions, getDesiredRateReadWriteExpressions, getWriteExpressions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
and, getDesiredRateReadWriteExpressions
and, getDesiredRateExpressions
and, getWriteExpressions
public DesiredRateReadWriteExpressionImpl(DesiredRateExpression<R> desiredRateExpression, WriteExpression<W> writeExpression)
desiredRateExpression
- the read part of the expressionwriteExpression
- the write part of the expressionpublic final DesiredRateReadWriteExpressionImpl<R,W> as(String name)
DesiredRateExpression
as
in interface DesiredRateExpression<R>
as
in interface DesiredRateReadWriteExpression<R,W>
name
- new namepublic final String getName()
DesiredRateExpression
getName
in interface DesiredRateExpression<R>
getName
in interface WriteExpression<W>
public final Function<R> getFunction()
DesiredRateExpression
getFunction
in interface DesiredRateExpression<R>
public final DesiredRateExpressionImpl<R> getDesiredRateExpressionImpl()
DesiredRateExpression
getDesiredRateExpressionImpl
in interface DesiredRateExpression<R>
public final WriteExpressionImpl<W> getWriteExpressionImpl()
WriteExpression
getWriteExpressionImpl
in interface WriteExpression<W>
public final DataRecipe getDataRecipe()
DesiredRateExpression
getDataRecipe
in interface DesiredRateExpression<R>
public final WriteFunction<W> getWriteFunction()
WriteExpression
getWriteFunction
in interface WriteExpression<W>
public final WriteBuffer createWriteBuffer()
WriteExpression
createWriteBuffer
in interface WriteExpression<W>
Copyright © 2012. All Rights Reserved.