java. Serialize futures in AbstractSerializer.