Class BatchingStateRestoreCallback
public class BatchingStateRestoreCallback : JVMBridgeListener, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IBatchingStateRestoreCallback
- Inheritance
-
BatchingStateRestoreCallback
- Implements
- Derived
- Inherited Members
Constructors
BatchingStateRestoreCallback()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public BatchingStateRestoreCallback()
BatchingStateRestoreCallback(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
public BatchingStateRestoreCallback(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
OnRestore
public Action<byte[], byte[]> OnRestore { get; set; }
Property Value
Remarks
If OnRestore has a value it takes precedence over corresponding class method
OnRestoreAll
public Action<Collection<KeyValue<byte[], byte[]>>> OnRestoreAll { get; set; }
Property Value
- Action<Collection<KeyValue<byte[], byte[]>>>
Remarks
If OnRestoreAll has a value it takes precedence over corresponding class method
Methods
InitializeHandlers()
Handlers initializer for BatchingStateRestoreCallback
protected virtual void InitializeHandlers()
Restore(byte[], byte[])
public virtual void Restore(byte[] arg0, byte[] arg1)
Parameters
Remarks
The method invokes the default implementation in the JVM interface using RestoreDefault(byte[], byte[]); override the method to implement a different behavior
RestoreAll(Collection<KeyValue<byte[], byte[]>>)
public virtual void RestoreAll(Collection<KeyValue<byte[], byte[]>> arg0)
Parameters
arg0
Collection<KeyValue<byte[], byte[]>>
RestoreDefault(byte[], byte[])
public void RestoreDefault(byte[] arg0, byte[] arg1)
Parameters
Remarks
The method invokes the default implementation in the JVM interface