当前位置: 首页>>代码示例>>C#>>正文


C# IUnmanagedTarget.ChangeTarget方法代码示例

本文整理汇总了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);
        }
开发者ID:iveselovskiy,项目名称:ignite,代码行数:6,代码来源:UnmanagedUtils.cs

示例2: ServicesWithServerKeepBinary

 internal static IUnmanagedTarget ServicesWithServerKeepBinary(IUnmanagedTarget target)
 {
     return target.ChangeTarget(JNI.ServicesWithServerKeepBinary(target.Context, target.Target));
 }
开发者ID:iveselovskiy,项目名称:ignite,代码行数:4,代码来源:UnmanagedUtils.cs

示例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);
        }
开发者ID:dkarachentsev,项目名称:ignite,代码行数:7,代码来源:UnmanagedUtils.cs

示例4: ProjectionForOthers

        internal static IUnmanagedTarget ProjectionForOthers(IUnmanagedTarget target, IUnmanagedTarget prj)
        {
            void* res = JNI.ProjectionForOthers(target.Context, target.Target, prj.Target);

            return target.ChangeTarget(res);
        }
开发者ID:iveselovskiy,项目名称:ignite,代码行数:6,代码来源:UnmanagedUtils.cs

示例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);
        }
开发者ID:iveselovskiy,项目名称:ignite,代码行数:6,代码来源:UnmanagedUtils.cs

示例6: CacheIterator

        internal static IUnmanagedTarget CacheIterator(IUnmanagedTarget target)
        {
            void* res = JNI.CacheIterator(target.Context, target.Target);

            return target.ChangeTarget(res);
        }
开发者ID:iveselovskiy,项目名称:ignite,代码行数:6,代码来源:UnmanagedUtils.cs

示例7: ContinuousQueryGetInitialQueryCursor

        internal static IUnmanagedTarget ContinuousQueryGetInitialQueryCursor(IUnmanagedTarget target)
        {
            void* res = JNI.ContinuousQryGetInitialQueryCursor(target.Context, target.Target);

            return res == null ? null : target.ChangeTarget(res);
        }
开发者ID:iveselovskiy,项目名称:ignite,代码行数:6,代码来源:UnmanagedUtils.cs

示例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));
            }
        }
开发者ID:iveselovskiy,项目名称:ignite,代码行数:15,代码来源:UnmanagedUtils.cs

示例9: ProcessorServices

        internal static IUnmanagedTarget ProcessorServices(IUnmanagedTarget target, IUnmanagedTarget prj)
        {
            void* res = JNI.ProcessorServices(target.Context, target.Target, prj.Target);

            return target.ChangeTarget(res);
        }
开发者ID:iveselovskiy,项目名称:ignite,代码行数:6,代码来源:UnmanagedUtils.cs

示例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);
        }
开发者ID:wmz7year,项目名称:ignite,代码行数:9,代码来源:UnmanagedUtils.cs

示例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));
            }
        }
开发者ID:iveselovskiy,项目名称:ignite,代码行数:15,代码来源:UnmanagedUtils.cs

示例12: ProcessorBinaryProcessor

        internal static IUnmanagedTarget ProcessorBinaryProcessor(IUnmanagedTarget target)
        {
            void* res = JNI.ProcessorBinaryProcessor(target.Context, target.Target);

            return target.ChangeTarget(res);
        }
开发者ID:wmz7year,项目名称:ignite,代码行数:6,代码来源:UnmanagedUtils.cs

示例13: ProcessorGetOrCreateCache

        internal static IUnmanagedTarget ProcessorGetOrCreateCache(IUnmanagedTarget target, long memPtr)
        {
            void* res = JNI.ProcessorGetOrCreateCacheFromConfig(target.Context, target.Target, memPtr);

            return target.ChangeTarget(res);
        }
开发者ID:wmz7year,项目名称:ignite,代码行数:6,代码来源:UnmanagedUtils.cs

示例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);
        }
开发者ID:dkarachentsev,项目名称:ignite,代码行数:6,代码来源:UnmanagedUtils.cs

示例15: CacheWithKeepBinary

        internal static IUnmanagedTarget CacheWithKeepBinary(IUnmanagedTarget target)
        {
            void* res = JNI.CacheWithKeepBinary(target.Context, target.Target);

            return target.ChangeTarget(res);
        }
开发者ID:iveselovskiy,项目名称:ignite,代码行数:6,代码来源:UnmanagedUtils.cs


注:本文中的IUnmanagedTarget.ChangeTarget方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。