本文整理汇总了C#中IUnmanagedTarget.ChangeTarget方法的典型用法代码示例。如果您正苦于以下问题:C# IUnmanagedTarget.ChangeTarget方法的具体用法?C# IUnmanagedTarget.ChangeTarget怎么用?C# IUnmanagedTarget.ChangeTarget使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类IUnmanagedTarget
的用法示例。
在下文中一共展示了IUnmanagedTarget.ChangeTarget方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: CacheWithExpiryPolicy
internal static IUnmanagedTarget CacheWithExpiryPolicy(IUnmanagedTarget target, long create, long update, long access)
{
void* res = JNI.CacheWithExpiryPolicy(target.Context, target.Target, create, update, access);
return target.ChangeTarget(res);
}
示例2: ServicesWithServerKeepBinary
internal static IUnmanagedTarget ServicesWithServerKeepBinary(IUnmanagedTarget target)
{
return target.ChangeTarget(JNI.ServicesWithServerKeepBinary(target.Context, target.Target));
}
示例3: TargetListenFutureForOperationAndGet
internal static IUnmanagedTarget TargetListenFutureForOperationAndGet(IUnmanagedTarget target, long futId,
int typ, int opId)
{
var res = JNI.TargetListenFutForOpAndGet(target.Context, target.Target, futId, typ, opId);
return target.ChangeTarget(res);
}
示例4: ProjectionForOthers
internal static IUnmanagedTarget ProjectionForOthers(IUnmanagedTarget target, IUnmanagedTarget prj)
{
void* res = JNI.ProjectionForOthers(target.Context, target.Target, prj.Target);
return target.ChangeTarget(res);
}
示例5: ProjectionOutOpRet
internal static IUnmanagedTarget ProjectionOutOpRet(IUnmanagedTarget target, int type, long memPtr)
{
void* res = JNI.ProjectionOutOpRet(target.Context, target.Target, type, memPtr);
return target.ChangeTarget(res);
}
示例6: CacheIterator
internal static IUnmanagedTarget CacheIterator(IUnmanagedTarget target)
{
void* res = JNI.CacheIterator(target.Context, target.Target);
return target.ChangeTarget(res);
}
示例7: ContinuousQueryGetInitialQueryCursor
internal static IUnmanagedTarget ContinuousQueryGetInitialQueryCursor(IUnmanagedTarget target)
{
void* res = JNI.ContinuousQryGetInitialQueryCursor(target.Context, target.Target);
return res == null ? null : target.ChangeTarget(res);
}
示例8: ProcessorDataStreamer
internal static IUnmanagedTarget ProcessorDataStreamer(IUnmanagedTarget target, string name, bool keepBinary)
{
sbyte* name0 = IgniteUtils.StringToUtf8Unmanaged(name);
try
{
void* res = JNI.ProcessorDataStreamer(target.Context, target.Target, name0, keepBinary);
return target.ChangeTarget(res);
}
finally
{
Marshal.FreeHGlobal(new IntPtr(name0));
}
}
示例9: ProcessorServices
internal static IUnmanagedTarget ProcessorServices(IUnmanagedTarget target, IUnmanagedTarget prj)
{
void* res = JNI.ProcessorServices(target.Context, target.Target, prj.Target);
return target.ChangeTarget(res);
}
示例10: TargetInObjectStreamOutObjectStream
internal static IUnmanagedTarget TargetInObjectStreamOutObjectStream(IUnmanagedTarget target, int opType, void* arg, long inMemPtr, long outMemPtr)
{
void* res = JNI.TargetInObjectStreamOutObjectStream(target.Context, target.Target, opType, arg, inMemPtr, outMemPtr);
if (res == null)
return null;
return target.ChangeTarget(res);
}
示例11: ProcessorGetOrCreateCache
internal static IUnmanagedTarget ProcessorGetOrCreateCache(IUnmanagedTarget target, string name)
{
sbyte* name0 = IgniteUtils.StringToUtf8Unmanaged(name);
try
{
void* res = JNI.ProcessorGetOrCreateCache(target.Context, target.Target, name0);
return target.ChangeTarget(res);
}
finally
{
Marshal.FreeHGlobal(new IntPtr(name0));
}
}
示例12: ProcessorBinaryProcessor
internal static IUnmanagedTarget ProcessorBinaryProcessor(IUnmanagedTarget target)
{
void* res = JNI.ProcessorBinaryProcessor(target.Context, target.Target);
return target.ChangeTarget(res);
}
示例13: ProcessorGetOrCreateCache
internal static IUnmanagedTarget ProcessorGetOrCreateCache(IUnmanagedTarget target, long memPtr)
{
void* res = JNI.ProcessorGetOrCreateCacheFromConfig(target.Context, target.Target, memPtr);
return target.ChangeTarget(res);
}
示例14: ComputeExecuteNative
internal static IUnmanagedTarget ComputeExecuteNative(IUnmanagedTarget target, long taskPtr, long topVer)
{
void* res = JNI.ComputeExecuteNative(target.Context, target.Target, taskPtr, topVer);
return target.ChangeTarget(res);
}
示例15: CacheWithKeepBinary
internal static IUnmanagedTarget CacheWithKeepBinary(IUnmanagedTarget target)
{
void* res = JNI.CacheWithKeepBinary(target.Context, target.Target);
return target.ChangeTarget(res);
}