Download valkyrie Free Java Code
Description
Provides a consistent Java API and value added services (load balancing, replication, caching, JMX mgmt) on top of key value storage backends including Memcache{D,DB,Q}, file system and others.
Source Files
The download file valkyrie-master.zip has the following entries.
.gitignore//w w w. j av a 2 s . c o m
README.markdown
build.xml
pom.xml
scripts/benchmark
scripts/node-copy
scripts/simple-thrift-server
scripts/valkyrie-rebalance
src/main/java/com/rubiconproject/oss/kv/AsyncFlushQueue.java
src/main/java/com/rubiconproject/oss/kv/BaseKeyValueStore.java
src/main/java/com/rubiconproject/oss/kv/BaseManagedKeyValueStore.java
src/main/java/com/rubiconproject/oss/kv/DistributedKeyValueStoreClient.java
src/main/java/com/rubiconproject/oss/kv/KeyValueStore.java
src/main/java/com/rubiconproject/oss/kv/KeyValueStoreException.java
src/main/java/com/rubiconproject/oss/kv/KeyValueStoreStatus.java
src/main/java/com/rubiconproject/oss/kv/KeyValueStoreUnavailable.java
src/main/java/com/rubiconproject/oss/kv/ManagedKeyValueStore.java
src/main/java/com/rubiconproject/oss/kv/ThreadPoolAsyncFlushQueue.java
src/main/java/com/rubiconproject/oss/kv/annotations/Configurable.java
src/main/java/com/rubiconproject/oss/kv/backends/AbstractConnectionFactory.java
src/main/java/com/rubiconproject/oss/kv/backends/AsyncFlushCachingKeyValueStore.java
src/main/java/com/rubiconproject/oss/kv/backends/CachingKeyValueStore.java
src/main/java/com/rubiconproject/oss/kv/backends/ConcurrentHashMapKeyValueStore.java
src/main/java/com/rubiconproject/oss/kv/backends/ConnectionFactory.java
src/main/java/com/rubiconproject/oss/kv/backends/EhCacheKeyValueStore.java
src/main/java/com/rubiconproject/oss/kv/backends/FileSystemKeyValueStore.java
src/main/java/com/rubiconproject/oss/kv/backends/IterableKeyValueStore.java
src/main/java/com/rubiconproject/oss/kv/backends/JdbcKeyValueStore.java
src/main/java/com/rubiconproject/oss/kv/backends/KeyValueStoreIterator.java
src/main/java/com/rubiconproject/oss/kv/backends/KratiKeyValueStore.java
src/main/java/com/rubiconproject/oss/kv/backends/LRULinkedHashMapKeyValueStore.java
src/main/java/com/rubiconproject/oss/kv/backends/LocalKeyValueStore.java
src/main/java/com/rubiconproject/oss/kv/backends/MemcachedKeyValueStore.java
src/main/java/com/rubiconproject/oss/kv/backends/RateLimitingKeyValueStore.java
src/main/java/com/rubiconproject/oss/kv/backends/ReadLoadBalancingKeyValueStore.java
src/main/java/com/rubiconproject/oss/kv/backends/ReplicatingKeyValueStore.java
src/main/java/com/rubiconproject/oss/kv/backends/ThriftKeyValueStore.java
src/main/java/com/rubiconproject/oss/kv/backends/UriConnectionFactory.java
src/main/java/com/rubiconproject/oss/kv/backends/sql/DefaultJdbcDAO.java
src/main/java/com/rubiconproject/oss/kv/backends/sql/JdbcDAO.java
src/main/java/com/rubiconproject/oss/kv/backends/sql/KeyValuePair.java
src/main/java/com/rubiconproject/oss/kv/backends/sql/SimpleDataSource.java
src/main/java/com/rubiconproject/oss/kv/distributed/AbstractOperation.java
src/main/java/com/rubiconproject/oss/kv/distributed/AbstractRefreshingNodeStore.java
src/main/java/com/rubiconproject/oss/kv/distributed/BulkContext.java
src/main/java/com/rubiconproject/oss/kv/distributed/BulkOperation.java
src/main/java/com/rubiconproject/oss/kv/distributed/BulkOperationResult.java
src/main/java/com/rubiconproject/oss/kv/distributed/Configuration.java
src/main/java/com/rubiconproject/oss/kv/distributed/ConfigurationException.java
src/main/java/com/rubiconproject/oss/kv/distributed/Configurator.java
src/main/java/com/rubiconproject/oss/kv/distributed/Context.java
src/main/java/com/rubiconproject/oss/kv/distributed/ContextFilter.java
src/main/java/com/rubiconproject/oss/kv/distributed/ContextFilterResult.java
src/main/java/com/rubiconproject/oss/kv/distributed/ContextSerializer.java
src/main/java/com/rubiconproject/oss/kv/distributed/DistributedKeyValueStore.java
src/main/java/com/rubiconproject/oss/kv/distributed/DistributedKeyValueStoreException.java
src/main/java/com/rubiconproject/oss/kv/distributed/InsufficientResponsesException.java
src/main/java/com/rubiconproject/oss/kv/distributed/Node.java
src/main/java/com/rubiconproject/oss/kv/distributed/NodeChangeListener.java
src/main/java/com/rubiconproject/oss/kv/distributed/NodeListParser.java
src/main/java/com/rubiconproject/oss/kv/distributed/NodeLocator.java
src/main/java/com/rubiconproject/oss/kv/distributed/NodeStore.java
src/main/java/com/rubiconproject/oss/kv/distributed/Operation.java
src/main/java/com/rubiconproject/oss/kv/distributed/OperationCallback.java
src/main/java/com/rubiconproject/oss/kv/distributed/OperationQueue.java
src/main/java/com/rubiconproject/oss/kv/distributed/OperationResult.java
src/main/java/com/rubiconproject/oss/kv/distributed/OperationStatus.java
src/main/java/com/rubiconproject/oss/kv/distributed/hashing/HashAlgorithm.java
src/main/java/com/rubiconproject/oss/kv/distributed/hashing/HashRing.java
src/main/java/com/rubiconproject/oss/kv/distributed/hashing/KetamaHashAlgorithm.java
src/main/java/com/rubiconproject/oss/kv/distributed/hashing/MD5HashAlgorithm.java
src/main/java/com/rubiconproject/oss/kv/distributed/impl/AbstractThreadPoolOperationQueue.java
src/main/java/com/rubiconproject/oss/kv/distributed/impl/DefaultBulkContext.java
src/main/java/com/rubiconproject/oss/kv/distributed/impl/DefaultContext.java
src/main/java/com/rubiconproject/oss/kv/distributed/impl/DefaultContextFilterResult.java
src/main/java/com/rubiconproject/oss/kv/distributed/impl/DefaultDistributedKeyValueStore.java
src/main/java/com/rubiconproject/oss/kv/distributed/impl/DefaultNodeImpl.java
src/main/java/com/rubiconproject/oss/kv/distributed/impl/DefaultOperationHelper.java
src/main/java/com/rubiconproject/oss/kv/distributed/impl/DefaultOperationResult.java
src/main/java/com/rubiconproject/oss/kv/distributed/impl/DeleteOperation.java
src/main/java/com/rubiconproject/oss/kv/distributed/impl/DistributedKeyValueStoreClientImpl.java
src/main/java/com/rubiconproject/oss/kv/distributed/impl/DynamoNodeLocator.java
src/main/java/com/rubiconproject/oss/kv/distributed/impl/GetBulkOperation.java
src/main/java/com/rubiconproject/oss/kv/distributed/impl/GetBulkOperationResult.java
src/main/java/com/rubiconproject/oss/kv/distributed/impl/GetOperation.java
src/main/java/com/rubiconproject/oss/kv/distributed/impl/JdbcNodeStore.java
src/main/java/com/rubiconproject/oss/kv/distributed/impl/KetamaNodeLocator.java
src/main/java/com/rubiconproject/oss/kv/distributed/impl/NodeRankContextFilter.java
src/main/java/com/rubiconproject/oss/kv/distributed/impl/NodeStoreFactory.java
src/main/java/com/rubiconproject/oss/kv/distributed/impl/NonPersistentThreadPoolOperationQueue.java
src/main/java/com/rubiconproject/oss/kv/distributed/impl/OperationLog.java
src/main/java/com/rubiconproject/oss/kv/distributed/impl/PassthroughContextSerializer.java
src/main/java/com/rubiconproject/oss/kv/distributed/impl/PropertiesConfigurator.java
src/main/java/com/rubiconproject/oss/kv/distributed/impl/ResultsCollecter.java
src/main/java/com/rubiconproject/oss/kv/distributed/impl/SetOperation.java
src/main/java/com/rubiconproject/oss/kv/distributed/impl/UrlNodeStore.java
src/main/java/com/rubiconproject/oss/kv/distributed/impl/XmlNodeListParser.java
src/main/java/com/rubiconproject/oss/kv/gen/Constants.java
src/main/java/com/rubiconproject/oss/kv/gen/GetResult.java
src/main/java/com/rubiconproject/oss/kv/gen/KeyValueService.java
src/main/java/com/rubiconproject/oss/kv/gen/KeyValueStoreException.java
src/main/java/com/rubiconproject/oss/kv/gen/KeyValueStoreIOException.java
src/main/java/com/rubiconproject/oss/kv/mgmt/BaseKeyValueStoreImplMXBean.java
src/main/java/com/rubiconproject/oss/kv/mgmt/JMXMbeanServerFactory.java
src/main/java/com/rubiconproject/oss/kv/mgmt/KeyValueStoreMXBean.java
src/main/java/com/rubiconproject/oss/kv/mgmt/MemcachedImplMXBean.java
src/main/java/com/rubiconproject/oss/kv/mgmt/MemcachedMXBean.java
src/main/java/com/rubiconproject/oss/kv/server/ThriftKeyValueServer.java
src/main/java/com/rubiconproject/oss/kv/server/applicationContext-benchmark.xml
src/main/java/com/rubiconproject/oss/kv/server/applicationContext.xml
src/main/java/com/rubiconproject/oss/kv/server/main/BaseKVServerMain.java
src/main/java/com/rubiconproject/oss/kv/server/main/ClientBenchmark.java
src/main/java/com/rubiconproject/oss/kv/server/main/SimpleThriftServer.java
src/main/java/com/rubiconproject/oss/kv/spring/applicationContext.xml
src/main/java/com/rubiconproject/oss/kv/tools/MultithreadedValkyrieRebalance.java
src/main/java/com/rubiconproject/oss/kv/tools/NodeCopy.java
src/main/java/com/rubiconproject/oss/kv/tools/ValkyrieRebalance.java
src/main/java/com/rubiconproject/oss/kv/transcoder/ByteArrayTranscoder.java
src/main/java/com/rubiconproject/oss/kv/transcoder/ByteTranscoder.java
src/main/java/com/rubiconproject/oss/kv/transcoder/DoubleTranscoder.java
src/main/java/com/rubiconproject/oss/kv/transcoder/FloatTranscoder.java
src/main/java/com/rubiconproject/oss/kv/transcoder/GzippingTranscoder.java
src/main/java/com/rubiconproject/oss/kv/transcoder/IntegerTranscoder.java
src/main/java/com/rubiconproject/oss/kv/transcoder/LongTranscoder.java
src/main/java/com/rubiconproject/oss/kv/transcoder/SerializableTranscoder.java
src/main/java/com/rubiconproject/oss/kv/transcoder/SerializingTranscoder.java
src/main/java/com/rubiconproject/oss/kv/transcoder/StringTranscoder.java
src/main/java/com/rubiconproject/oss/kv/transcoder/Transcoder.java
src/main/java/com/rubiconproject/oss/kv/transcoder/ZippingTranscoder.java
src/main/java/com/rubiconproject/oss/kv/transcoder/spy/SpyMemcachedByteArrayTranscoder.java
src/main/java/com/rubiconproject/oss/kv/transcoder/spy/SpyMemcachedDelegatingTranscoder.java
src/main/java/com/rubiconproject/oss/kv/tuple/End.java
src/main/java/com/rubiconproject/oss/kv/tuple/SeparatedAppender.java
src/main/java/com/rubiconproject/oss/kv/tuple/Tuple.java
src/main/java/com/rubiconproject/oss/kv/tuple/Tuple1.java
src/main/java/com/rubiconproject/oss/kv/tuple/Tuple10.java
src/main/java/com/rubiconproject/oss/kv/tuple/Tuple2.java
src/main/java/com/rubiconproject/oss/kv/tuple/Tuple3.java
src/main/java/com/rubiconproject/oss/kv/tuple/Tuple4.java
src/main/java/com/rubiconproject/oss/kv/tuple/Tuple5.java
src/main/java/com/rubiconproject/oss/kv/tuple/Tuple6.java
src/main/java/com/rubiconproject/oss/kv/tuple/Tuple7.java
src/main/java/com/rubiconproject/oss/kv/tuple/Tuple8.java
src/main/java/com/rubiconproject/oss/kv/tuple/Tuple9.java
src/main/java/com/rubiconproject/oss/kv/tuple/Variable.java
src/main/java/com/rubiconproject/oss/kv/tuple/Version.java
src/main/java/com/rubiconproject/oss/kv/tx/KeyValueStoreStaleUpdateException.java
src/main/java/com/rubiconproject/oss/kv/tx/KeyValueStoreTransaction.java
src/main/java/com/rubiconproject/oss/kv/tx/KeyValueStoreTransactionException.java
src/main/java/com/rubiconproject/oss/kv/tx/MemcachedTransaction.java
src/main/java/com/rubiconproject/oss/kv/tx/TransactionalKeyValueStore.java
src/main/java/com/rubiconproject/oss/kv/util/DaemonThreadFactory.java
src/main/java/com/rubiconproject/oss/kv/util/ExecutorUtils.java
src/main/java/com/rubiconproject/oss/kv/util/MemcachedRateLimiter.java
src/main/java/com/rubiconproject/oss/kv/util/RateLimiter.java
src/main/java/com/rubiconproject/oss/kv/util/SimpleRateLimiter.java
src/main/java/com/rubiconproject/oss/kv/util/StreamUtils.java
src/main/resources/log4j.properties
src/main/thrift/valkyrie.thrift
src/test/java/com/rubiconproject/oss/kv/distributed/test/ContextFilterTestCase.java
src/test/java/com/rubiconproject/oss/kv/distributed/test/DistributedKeyValueStoreTestCase.java
src/test/java/com/rubiconproject/oss/kv/distributed/test/DummyDataSource.java
src/test/java/com/rubiconproject/oss/kv/distributed/test/DummyNodeStore.java
src/test/java/com/rubiconproject/oss/kv/distributed/test/DummyOperationQueue.java
src/test/java/com/rubiconproject/oss/kv/distributed/test/NodeListParserTestCase.java
src/test/java/com/rubiconproject/oss/kv/distributed/test/NodeLocatorTestCase.java
src/test/java/com/rubiconproject/oss/kv/distributed/test/NodeStoreTestCase.java
src/test/java/com/rubiconproject/oss/kv/test/Benchmark.java
src/test/java/com/rubiconproject/oss/kv/test/ExamplesTestCase.java
src/test/java/com/rubiconproject/oss/kv/test/KeyValueStoreBackendTestCase.java
src/test/java/com/rubiconproject/oss/kv/test/TranscoderTestCase.java
src/test/java/com/rubiconproject/oss/kv/test/backends/AsyncFlushCachingStoreBackendTestCase.java
src/test/java/com/rubiconproject/oss/kv/test/backends/CachingStoreTestCase.java
src/test/java/com/rubiconproject/oss/kv/test/backends/ConcurrentHashMapBackendTestCase.java
src/test/java/com/rubiconproject/oss/kv/test/backends/EhCacheBackendTestCase.java
src/test/java/com/rubiconproject/oss/kv/test/backends/FileSystemBackendTestCase.java
src/test/java/com/rubiconproject/oss/kv/test/backends/JdbcBackendTestCase.java
src/test/java/com/rubiconproject/oss/kv/test/backends/KratiStoreBackendTestCase.java
src/test/java/com/rubiconproject/oss/kv/test/backends/LRULinkedHashMapBackendTestCase.java
src/test/java/com/rubiconproject/oss/kv/test/backends/MemcachedBackendTestCase.java
src/test/java/com/rubiconproject/oss/kv/test/backends/RateLimitingStoreBackendTestCase.java
src/test/java/com/rubiconproject/oss/kv/test/backends/ReplicatingStoreBackendTestCase.java
src/test/java/com/rubiconproject/oss/kv/test/backends/ThriftBackendTestCase.java
src/test/java/com/rubiconproject/oss/kv/test/backends/ValkyrieBackendTestCase.java
src/test/java/com/rubiconproject/oss/kv/test/sql/SampleValueObject.java
src/test/java/com/rubiconproject/oss/kv/test/sql/SampleValueObjectDAO.java
src/test/resources/com/rubiconproject/oss/kv/test/resources/lorem-ipsum-10k.txt
src/test/resources/com/rubiconproject/oss/kv/test/resources/lorem-ipsum.txt
src/test/resources/com/rubiconproject/oss/kv/test/resources/sample-node-list.xml
src/test/resources/com/rubiconproject/oss/kv/test/resources/valkyrie-test.properties
src/test/resources/jndi.properties
src/test/resources/log4j.properties
Download
Click the following link to download valkyrie-master.zip.
valkyrie-master.zip