Datastore: Reuse successful future 16/10616/2
authorRobert Varga <rovarga@cisco.com>
Tue, 2 Sep 2014 09:25:51 +0000 (11:25 +0200)
committerRobert Varga <rovarga@cisco.com>
Tue, 2 Sep 2014 09:29:38 +0000 (11:29 +0200)
ImmediateFuture does not keep any state, so we can reuse a single
instance, preventing garbage buildup just a tiny bit.

Change-Id: I200662a666f4529ea82a2ac3948be9536ca32281
Signed-off-by: Robert Varga <rovarga@cisco.com>

No differences found