Object

com.github.trex_paxos.internals

Pickle

Related Doc: package internals

Permalink

object Pickle extends LazyLogging

Binary pickling. I did try scala pickling but had all sorts of runtime problems including jvm crashes. Note that RetransmitResponse could be big so in the future we might send a handle and have the responder connect back and stream it one accept over time over TCP.

Linear Supertypes
LazyLogging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Pickle
  2. LazyLogging
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val config: Map[Byte, (Class[_], (ByteString) ⇒ AnyRef)]

    Permalink
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. val fromMap: Map[Byte, (ByteString) ⇒ AnyRef]

    Permalink
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. val lengthOfBool: Int

    Permalink
  15. val lengthOfInt: Int

    Permalink
  16. val lengthOfLong: Int

    Permalink
  17. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LazyLogging
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. def pack(a: AnyRef): ByteString

    Permalink
  22. def pickle(a: AnyRef): ByteString

    Permalink
  23. def pickleAccept(a: Accept): ByteString

    Permalink
  24. def pickleAcceptAck(a: AcceptAck): ByteString

    Permalink
  25. def pickleAcceptNack(a: AcceptNack): ByteString

    Permalink
  26. def pickleClientValue(c: ClientRequestCommandValue): ByteString

    Permalink
  27. def pickleCommit(c: Commit): ByteString

    Permalink
  28. def pickleIdentifier(id: Identifier): ByteString

    Permalink
  29. def pickleInt(i: Int): ByteString

    Permalink
  30. def pickleLong(i: Long): ByteString

    Permalink
  31. def pickleMember(m: Member): ByteString

    Permalink
  32. def pickleMembership(m: Membership): ByteString

    Permalink
  33. def pickleMembershipQuery(m: MembershipQuery): ByteString

    Permalink
  34. def pickleMembershipValue(m: MembershipCommandValue): ByteString

    Permalink
  35. def pickleNoOpValue: ByteString

    Permalink
  36. def pickleNotLeader(n: NotLeader): ByteString

    Permalink
  37. def picklePrepare(p: Prepare): ByteString

    Permalink
  38. def picklePrepareAck(p: PrepareAck): ByteString

    Permalink
  39. def picklePrepareNack(p: PrepareNack): ByteString

    Permalink
  40. def pickleProgress(p: Progress): ByteString

    Permalink
  41. def pickleRetransmitRequest(r: RetransmitRequest): ByteString

    Permalink
  42. def pickleRetransmitResponse(r: RetransmitResponse): ByteString

    Permalink
  43. def pickleValue(v: CommandValue): ByteString

    Permalink
  44. val sizeOfBallotNumber: Int

    Permalink
  45. val sizeOfIdentifier: Int

    Permalink
  46. val sizeOfProgress: Int

    Permalink
  47. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  48. val toMap: Map[Class[_], Byte]

    Permalink
  49. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  50. def unpack(b: ByteString): AnyRef

    Permalink
  51. def unpickleAccept(b: ByteString): Accept

    Permalink
  52. def unpickleAcceptAck(b: ByteString): AcceptAck

    Permalink
  53. def unpickleAcceptNack(b: ByteString): AcceptNack

    Permalink
  54. def unpickleClientValue(b: ByteString): ClientRequestCommandValue

    Permalink
  55. def unpickleCommit(b: ByteString): Commit

    Permalink
  56. def unpickleIdentifier(b: ByteString): Identifier

    Permalink
  57. def unpickleInt(b: ByteString): Int

    Permalink
  58. def unpickleLong(b: ByteString): Long

    Permalink
  59. def unpickleMember(bytes: ByteString): (Member, ByteString)

    Permalink
  60. def unpickleMembership(b: ByteString): Membership

    Permalink
  61. def unpickleMembershipQuery(b: ByteString): MembershipQuery

    Permalink
  62. def unpickleMembershipValue(b: ByteString): MembershipCommandValue

    Permalink
  63. def unpickleNoOpValue(b: ByteString): CommandValue

    Permalink
  64. def unpickleNotLeader(b: ByteString): NotLeader

    Permalink
  65. def unpicklePrepare(b: ByteString): Prepare

    Permalink
  66. def unpicklePrepareAck(b: ByteString): PrepareAck

    Permalink
  67. def unpicklePrepareNack(b: ByteString): PrepareNack

    Permalink
  68. def unpickleProgress(b: ByteString): Progress

    Permalink
  69. def unpickleRetransitRequest(b: ByteString): RetransmitRequest

    Permalink
  70. def unpickleRetransmitResponse(b: ByteString): RetransmitResponse

    Permalink
  71. def unsigned(b: Byte): Int

    Permalink
    Annotations
    @inline()
  72. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  73. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  74. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from LazyLogging

Inherited from AnyRef

Inherited from Any

Ungrouped