Generate a nil ActorId.
()
| 27 | |
| 28 | /** Generate a nil ActorId. */ |
| 29 | private static ActorId nil() { |
| 30 | byte[] b = new byte[LENGTH]; |
| 31 | Arrays.fill(b, (byte) 0xFF); |
| 32 | return new ActorId(b); |
| 33 | } |
| 34 | |
| 35 | /** Generate an ActorId with random value. Used for local mode and test only. */ |
| 36 | public static ActorId fromRandom() { |
no outgoing calls