Class Interlocked

    • Field Detail

      • assemblyFullName

        public static final java.lang.String assemblyFullName
        Fully assembly qualified name: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
        See Also:
        Constant Field Values
      • assemblyShortName

        public static final java.lang.String assemblyShortName
        Assembly name: mscorlib
        See Also:
        Constant Field Values
      • className

        public static final java.lang.String className
        Qualified class name: System.Threading.Interlocked
        See Also:
        Constant Field Values
      • classType

        public static JCType classType
        The type managed from JCOBridge. See JCType
    • Constructor Detail

      • Interlocked

        public Interlocked​(java.lang.Object instance)
                    throws java.lang.Throwable
        Internal constructor. Use with caution
        Throws:
        java.lang.Throwable
      • Interlocked

        public Interlocked()
                    throws java.lang.Throwable
        Throws:
        java.lang.Throwable
    • Method Detail

      • CompareExchange

        public static double CompareExchange​(JCORefOut<java.util.concurrent.atomic.AtomicReference<java.lang.Double>> location1,
                                             double value,
                                             double comparand)
                                      throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • Exchange

        public static double Exchange​(JCORefOut<java.util.concurrent.atomic.AtomicReference<java.lang.Double>> location1,
                                      double value)
                               throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • Add

        public static int Add​(JCORefOut<java.util.concurrent.atomic.AtomicInteger> location1,
                              int value)
                       throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • CompareExchange

        public static int CompareExchange​(JCORefOut<java.util.concurrent.atomic.AtomicInteger> location1,
                                          int value,
                                          int comparand)
                                   throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • Exchange

        public static int Exchange​(JCORefOut<java.util.concurrent.atomic.AtomicInteger> location1,
                                   int value)
                            throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • Add

        public static long Add​(JCORefOut<java.util.concurrent.atomic.AtomicLong> location1,
                               long value)
                        throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • CompareExchange

        public static long CompareExchange​(JCORefOut<java.util.concurrent.atomic.AtomicLong> location1,
                                           long value,
                                           long comparand)
                                    throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • Exchange

        public static long Exchange​(JCORefOut<java.util.concurrent.atomic.AtomicLong> location1,
                                    long value)
                             throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • Read

        public static long Read​(JCORefOut<java.util.concurrent.atomic.AtomicLong> location)
                         throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • CompareExchange

        public static Single CompareExchange​(JCORefOut<Single> location1,
                                             Single value,
                                             Single comparand)
                                      throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • Exchange

        public static Single Exchange​(JCORefOut<Single> location1,
                                      Single value)
                               throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • MemoryBarrier

        public static void MemoryBarrier()
                                  throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • SpeculationBarrier

        public static void SpeculationBarrier()
                                       throws java.lang.Throwable
        Throws:
        java.lang.Throwable