hazelcast/hazelcast — pull request #347 by rpwaltz (2012-11-12 22:56:31+00:00)
Title: #334 and #315 in 2.4.1-SNAPSHOT cause hazelcast-spring failures, etc

1) Merge pull request #334 from hazelcast/333-newHazelcastInstance
--causes hazelcast-spring configuration to fail do to addition of
Boolean to the newHazelcastInstanceProxy method. To solve, in
FactoryImpl created a couple of newHazelcastInstanceProxy methods, one
assuming no Config param, the other with a single Config param.
Modified Hazelcast.java to take advantage of new methods.

2) fixes #315 -- causes the client to timeout too quickly if the TIMEOUT
is set very low. See hazelcast-spring
TestClientApplicationContext.testClient method. The
scheduleHearbeatTimerTask executes before a connection is established
causing the test failure. Solution -- changed the Timer setting to delay
the initial execution of the heartbeat by TIMEOUT, while retaining the
TIMEOUT/10 period for all subsequent executions.