Class Timekeeper.RemoteTimekeeper

  • Enclosing class:
    Timekeeper

    public static class Timekeeper.RemoteTimekeeper
    extends java.lang.Object
    • Constructor Detail

      • RemoteTimekeeper

        public RemoteTimekeeper​(boolean recordActive)
    • Method Detail

      • SerializedByteOrder

        public java.nio.ByteOrder SerializedByteOrder()
      • Utf8

        public java.nio.charset.Charset Utf8()
      • resumeFromBuffer

        public Timekeeper.Stopwatches resumeFromBuffer​(java.nio.ByteBuffer buffer,
                                                       long resumeTime)
        Resume stopwatches after transporting over remote boundaries, deserialized directly from a byte buffer.
        Parameters:
        buffer - (undocumented)
        resumeTime - (undocumented)
        Returns:
        (undocumented)
      • suspendToBuffer

        public void suspendToBuffer​(Timekeeper.Stopwatches stopwatches,
                                    java.nio.ByteBuffer buffer)
      • suspendToBuffer

        public void suspendToBuffer​(Timekeeper.Stopwatches stopwatches,
                                    java.nio.ByteBuffer buffer,
                                    long suspendTime)
        Suspend stopwatches for transporting over remote boundaries, and write serialized form directly to a byte buffer.
        Parameters:
        stopwatches - (undocumented)
        buffer - (undocumented)
        suspendTime - (undocumented)