On 31. Oktoober 2013 at 20:32:59, Vitaliy Morarian (vmor...@gmail.com) wrote:
Hi Nils,I slightly refactored master branchhttps://github.com/vmorarian/hannibal/tree/refactoringI removed all Future's because in this case it doesn't give any performance. It would help when more than 1 future is created/map'ed.Also in old code it was used await blocking method.Removed mutable structures.Take please also a look, that:RegionName case class has overridden equals but hashCode is absentIt's not good idea to create case class which has mutable datacase class Region(val regionServer: RegionServer, val regionLoad: HServerLoad.RegionLoad)Other issues is that in this case we can't use convenient method copy (because all vals are fields)Let me know what you think about it. Should I continue with it?
With best regards,
Vitaliy Morarian
val promiseOfInt: Promise[Int] = Akka.future {
intensiveComputation()
}
On 4. Novämber 2013 at 16:39:28, Vitaliy Morarian (vmor...@gmail.com) wrote:
ould like to c