Class Synchronizer


  • public final class Synchronizer
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.Object createSynchronizedWrapper​(java.lang.Object o)
      Creates an object that implements all the same interfaces as the original object, but that synchronizes all access (using the wrappers' own lock).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • createSynchronizedWrapper

        public static java.lang.Object createSynchronizedWrapper​(java.lang.Object o)
        Creates an object that implements all the same interfaces as the original object, but that synchronizes all access (using the wrappers' own lock).