Spring Framework AlternativeJdkIdGenerator - top ranked examples from Open Source projects

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Spring Framework AlternativeJdkIdGenerator class.

This code example shows how to use the following methods:
 * @author Rossen Stoyanchev 
 * @since 4.1 
 */ 
public class SockJsUrlInfo {
 
	private static final IdGenerator idGenerator = new AlternativeJdkIdGenerator();
 
 
	private final URI sockJsUrl;
 
	private String serverId;
 
	private String sessionId;
 
	private UUID uuid;
 
 
	public SockJsUrlInfo(URI sockJsUrl) {
		this.sockJsUrl = sockJsUrl;
	} 
6
CodeRank
This code example shows how to use the following methods:
 
	public static final UUID ID_VALUE_NONE = new UUID(0,0);
 
	private static volatile IdGenerator idGenerator = null;
 
	private static final IdGenerator defaultIdGenerator = new AlternativeJdkIdGenerator();
 
	/** 
	 * The key for the Message ID. This is an automatically generated UUID and 
	 * should never be explicitly set in the header map <b>except</b> in the 
	 * case of Message deserialization where the serialized Message's generated 
	 * UUID is being restored. 
	 */ 
	public static final String ID = "id";
 
	public static final String TIMESTAMP = "timestamp";
 
	public static final String REPLY_CHANNEL = "replyChannel";
 
	public static final String ERROR_CHANNEL = "errorChannel";
5
CodeRank
This code example shows how to use the following methods:
 
	private static final String QUEUE_NAME_SUFFIX = ".reply";
 
	private static final int TIMEOUT = 1000;
 
	private static final IdGenerator defaultIdGenerator = new AlternativeJdkIdGenerator();
 
	private final static RedisSerializer<String> stringSerializer = new StringRedisSerializer();
 
	private final RedisTemplate<String, Object> template;
 
	private final BoundListOperations<String, Object> boundListOps;
 
	private volatile boolean extractPayload = true;
 
	private volatile RedisSerializer<?> serializer = new JdkSerializationRedisSerializer();
 
	private volatile boolean serializerExplicitlySet;
 
	private volatile int receiveTimeout = TIMEOUT;
5
CodeRank
This code example shows how to use the following methods:
 */ 
public abstract class AbstractShellIntegrationTest { 
 
	public static boolean SHUTDOWN_AFTER_RUN = true;
 
	private final IdGenerator idGenerator = new AlternativeJdkIdGenerator();
 
	@ClassRule 
	public static RedisTestSupport redisAvailableRule = new RedisTestSupport();
 
	private static final Log logger = LogFactory.getLog(AbstractShellIntegrationTest.class);
 
	private static SingleNodeApplication application;
 
	private static JLineShellComponent shell;
 
	private Set<File> toBeDeleted = new HashSet<File>();
 
	protected static SingleNodeIntegrationTestSupport integrationTestSupport;
 
3
CodeRank
This code example shows how to use the following methods:
 
	private transient Converter<Tuple, String> tupleToStringConverter = new DefaultTupleToStringConverter();
 
	private static volatile IdGenerator idGenerator = null;
 
	private static final IdGenerator defaultIdGenerator = new AlternativeJdkIdGenerator();
 
	private UUID id;
 
	private Long timestamp;
 
	// TODO consider making final and package protect ctor so as to always use TupleBuilder 
 
	public DefaultTuple(List<String> names, List<Object> values, FormattingConversionService formattingConversionService) {
		Assert.notNull(names);
		Assert.notNull(values);
		Assert.notNull(formattingConversionService);
		if (values.size() != names.size()) {
			throw new IllegalArgumentException("Field names must be same length as values: names=" + names
					+ ", values=" + values);
1
CodeRank