tests of map Lock Key then map clear
tests of map Lock Key then map clear
remove imports
combined tests.   added a test for clear with locked keys, under a node loss situation
fixes #2410 . Resources(Lock etc...) were not cleaning properly, when client and owner node of client dies together.
cleanup in related requests & operations
Fix HazelcastHttpSession's setAttribute() with null value

HttpSession.setAttribute() should work with null value the same as removeAttribute(). Changed from throwing an exception to delegate call to removeAttribute()
fix after cleanup attempt
Fixed IMap replace() always generating ADDED events.
This should only ever generate UPDATED events if successful.
This seems to have regressed in Hazelcast 3.0.
Hazelcast 2.x seems to have only generated UPDATED events, see https://github.com/hazelcast/hazelcast/issues/418
Added a test that verifies that the old behavior is broken and the new behavior works.
Use assertTrueEventually in the test, as events may be delayed.
Add a take() method to TransactionalQueue (for #2600)
Look for invokable method when configuring by reflection.
Added proper comment
Added property / documentation for configurable queuesize on HZ Enterprise WAN replication
Merge branch 'master' of https://github.com/hazelcast/hazelcast
Doubled length value and added check if both values are the same which is unlikely to happen for wrong or broken packages
#2064 Pass HazelcastInstance to LocalRegionCache constructors.

- Added a new constructor to LocalRegionCache to allow explicit control
  over whether an ITopic MessageListener should be registered
- Fixed a subtle bug in LocalRegionCache.cleanup() that prevented
  multiple entries with the same timestamp from being cleaned up
  - Using a TreeSet meant only a single entry at any given timestamp
    could be considered as a candidate for eviction; subsequent entries
    were "protected" because they weren't added to the TreeSet
- Updated HazelcastQueryResultsRegion to use the new constructor so that
  the HazelcastInstance can be passed on (allow query caches to inherit
  their MapConfigs) without registering a MessageListener
- Added unit tests to verify both LocalRegionCache constructors
- Added unit test to verify HazelcastQueryResultsRegion creates
  LocalRegionCaches which honor their configurations
Added unittest
Fixed vector clock contention