This file contains 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 java.util.Arrays; | |
import java.util.Collection; | |
import java.util.List; | |
import java.util.Vector; | |
import java.util.concurrent.ExecutionException; | |
import java.util.concurrent.Executor; | |
import java.util.concurrent.TimeUnit; | |
import java.util.concurrent.atomic.AtomicBoolean; | |
import java.util.concurrent.atomic.AtomicInteger; | |
import java.util.function.Supplier; |
This file contains 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
public class MyEventPayload { | |
} |
This file contains 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
# | |
# A fatal error has been detected by the Java Runtime Environment: | |
# | |
# SIGSEGV (0xb) at pc=0x0000000106a0ae31, pid=48915, tid=4867 | |
# | |
# JRE version: Java(TM) SE Runtime Environment (8.0_05-b13) (build 1.8.0_05-b13) | |
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.5-b02 mixed mode bsd-amd64 compressed oops) | |
# Problematic frame: | |
# V [libjvm.dylib+0x40ae31] | |
# |
This file contains 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
public class Experiment { | |
} |
This file contains 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
package biz.paluch.redis.example; | |
import java.util.Enumeration; | |
import java.util.Map; | |
import javax.annotation.PostConstruct; | |
import javax.annotation.PreDestroy; | |
import javax.inject.Inject; | |
import javax.servlet.http.HttpSession; |
This file contains 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
package com.lambdaworks.redis; | |
import static com.google.code.tempusfugit.temporal.Duration.seconds; | |
import static com.google.code.tempusfugit.temporal.WaitFor.waitOrTimeout; | |
import static com.lambdaworks.redis.ScriptOutputType.STATUS; | |
import static org.assertj.core.api.Assertions.assertThat; | |
import java.util.concurrent.ExecutionException; | |
import java.util.concurrent.TimeUnit; |
This file contains 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
public class Util { | |
private Util() { | |
throw new UnsupportedOperationException(); | |
} | |
} |
This file contains 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 static com.google.common.base.Preconditions.checkArgument; | |
import java.io.ByteArrayOutputStream; | |
import java.io.IOException; | |
import java.nio.ByteBuffer; | |
import org.xerial.snappy.SnappyInputStream; | |
import org.xerial.snappy.SnappyOutputStream; | |
import com.google.common.io.ByteStreams; |
This file contains 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 redis.clients.jedis.HostAndPort; | |
import redis.clients.jedis.JedisCluster; | |
import java.util.HashSet; | |
import java.util.Set; | |
public class JedisCluster { | |
public static void main(String[] args) { | |
Set<HostAndPort> connectionPoints = new HashSet<HostAndPort>(); |
This file contains 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 javax.enterprise.inject.Alternative; | |
import com.lambdaworks.redis.RedisClient; | |
import com.lambdaworks.redis.RedisURI; | |
import com.lambdaworks.redis.StatefulRedisConnectionImpl; | |
import com.lambdaworks.redis.codec.RedisCodec; | |
import com.lambdaworks.redis.protocol.CommandHandler; | |
import com.lambdaworks.redis.pubsub.PubSubCommandHandler; | |
import com.lambdaworks.redis.pubsub.StatefulRedisPubSubConnectionImpl; |