public class PlatformStreamReceiverImpl extends PlatformAbstractPredicate implements PlatformStreamReceiver
ctx, pred, ptr
Constructor and Description |
---|
PlatformStreamReceiverImpl()
Constructor.
|
PlatformStreamReceiverImpl(Object pred,
long ptr,
boolean keepBinary,
PlatformContext ctx)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
readExternal(ObjectInput in) |
void |
receive(IgniteCache<Object,Object> cache,
Collection<Map.Entry<Object,Object>> collection)
Updates cache with batch of entries.
|
void |
setIgniteInstance(Ignite ignite) |
void |
writeExternal(ObjectOutput out) |
public PlatformStreamReceiverImpl()
public PlatformStreamReceiverImpl(Object pred, long ptr, boolean keepBinary, PlatformContext ctx)
pred
- .Net binary receiver.ptr
- Pointer to receiver in the native platform.ctx
- Kernal context.public void receive(IgniteCache<Object,Object> cache, Collection<Map.Entry<Object,Object>> collection) throws IgniteException
receive
in interface StreamReceiver<Object,Object>
cache
- Cache.collection
- Collection of entries.IgniteException
- If failed.@IgniteInstanceResource public void setIgniteInstance(Ignite ignite)
ignite
- Ignite instance.public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class PlatformAbstractPredicate
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class PlatformAbstractPredicate
IOException
ClassNotFoundException
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017