grep -nH -e "org.infinispan.test.hibernate.cache.commons.entity.EntityRegionAccessStrategyTest" infinispan.log
...
infinispan.log:170081:2018-05-25 19:14:08,648 INFO [org.hibernate.testing.junit4.CustomRunner] (main:[]) Test: testRemove
...
infinispan.log:170369:2018-05-25 19:14:08,654 DEBUG [org.infinispan.test.hibernate.cache.commons.entity.EntityRegionAccessStrategyTest] (Time-limited test:[]) Create end invalidation latch: java.util.concurrent.CountDownLatch@6b412650[Count = 0]
...
2018-05-25 19:14:08,654 DEBUG [org.hibernate.engine.transaction.internal.TransactionImpl] (Time-limited test:[]) begin- From 10.11 or 10.12 systems, format an external hard drive with at least 500gb with "Mac Os Extended Journaled".
- Download High Sierra Beta and install it in the external hard drive.
- When the system reboots and finishes installation, it will boot from the external HD.
Go to Preferences and change
Startup Diskto be main HD. - Reboot and press
Optionkey when the computer makes a beep and select external HD to boot from it. - Once booted again into external HD, format main HD to be APFS.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| testAll[read-only, INVALIDATION_SYNC](org.infinispan.test.hibernate.cache.functional.cluster.NaturalIdInvalidationTest) Time elapsed: 0.526 sec <<< FAILURE! | |
| java.lang.AssertionError: Citizen (1234) should have present in the cache | |
| at org.junit.Assert.fail(Assert.java:88) | |
| at org.infinispan.test.hibernate.cache.functional.cluster.NaturalIdInvalidationTest.assertLoadedFromCache(NaturalIdInvalidationTest.java:144) | |
| at org.infinispan.test.hibernate.cache.functional.cluster.NaturalIdInvalidationTest.testAll(NaturalIdInvalidationTest.java:114) | |
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
| at java.lang.reflect.Method.invoke(Method.java:498) | |
| at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import StartApp | |
| import PutKeyValue exposing (init, update, view) | |
| app = | |
| StartApp.start | |
| { init = init | |
| , update = update | |
| , view = view |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var main = Elm.worker(Elm.Main, {}); | |
| function logger(model) { | |
| console.log('Model: ' + model); | |
| } | |
| main.ports.putKeyValue.subscribe(logger); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;; Haskell customizations | |
| ;; Install sanboxed ghc-mod version that gets around ghc-mod/issues/437 | |
| (progn (cd "/opt/ghc-mod/elisp") (normal-top-level-add-subdirs-to-load-path)) | |
| (if (fboundp 'normal-top-level-add-subdirs-to-load-path) | |
| (let* ((my-lisp-dir "/opt/ghc-mod/elisp") | |
| (default-directory my-lisp-dir)) | |
| (setq load-path (cons my-lisp-dir load-path)) | |
| (normal-top-level-add-subdirs-to-load-path))) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| s/RadarGun-2.0.0-SNAPSHOT/lib/hdrhistogram-2.0.0-SNAPSHOT.jar:/home/g/Benchmarks/RadarGun-2.0.0-SNAPSHOT/lib/HdrHistogram-2.1.0.jar:/home/g/Benchmarks/RadarGun-2.0.0-SNAPSHOT/lib/jboss-transaction-api-1.0.1.GA.jar:/home/g/Benc | |
| hmarks/RadarGun-2.0.0-SNAPSHOT/lib/log4j-1.2.16.jar:/home/g/Benchmarks/RadarGun-2.0.0-SNAPSHOT/lib/radargun-core-2.0.0-SNAPSHOT.jar:/home/g/Benchmarks/RadarGun-2.0.0-SNAPSHOT/conf:/lib/tools.jar org.radargun.Slave --master 169 | |
| .254.142.64 --slaveIndex 0 | |
| -------------------------------------------------------------------------------- | |
| PerNodeRollingFileAppender::Using file prefix:w1 | |
| 07:33:43,823 INFO [org.radargun.RemoteMasterConnection] (main) Attempting to connect to master 169.254.142.64:2103 | |
| 07:33:45,831 INFO [org.radargun.RemoteMasterConnection] (main) Successfully established connection with master at: 169.254.142.64:2103 | |
| 07:33:50,386 INFO [org.radargun.Slave] (main) Received slave index 0 | |
| 07:33:50,387 INFO [org.radargun.Slave] (main) Received slave count 1 | |
| 07:33:50,623 INFO [o |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import org.infinispan.client.hotrod.annotation.*; | |
| import org.infinispan.client.hotrod.event.*; | |
| @ClientListener | |
| public class EventLogListener { | |
| // ... | |
| @ClientCacheFailover | |
| public void handleFailover(ClientCacheFailoverEvent e) { | |
| // Deal with client failover, e.g. clear a near cache. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ClientCacheEntryCustomEvent(eventData=ValueAddedEvent{key=1, value='one'}, eventType=CLIENT_CACHE_ENTRY_CREATED) | |
| ClientCacheEntryCustomEvent(eventData=ValueAddedEvent{key=1, value='new-one'}, eventType=CLIENT_CACHE_ENTRY_MODIFIED) | |
| ClientCacheEntryCustomEvent(eventData=ValueAddedEvent{key=1, value='null'}, eventType=CLIENT_CACHE_ENTRY_REMOVED) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import org.infinispan.client.hotrod.*; | |
| RemoteCacheManager rcm = new RemoteCacheManager(); | |
| RemoteCache<Integer, String> cache = rcm.getCache(); | |
| CustomEventLogListener listener = new CustomEventLogListener(); | |
| try { | |
| cache.addClientListener(listener); | |
| cache.put(1, "one"); | |
| cache.put(1, "new-one"); | |
| cache.remove(1); |