Package | Description |
---|---|
org.apache.cassandra.batchlog |
Modifier and Type | Method and Description |
---|---|
static Batch |
Batch.createLocal(java.util.UUID id,
long creationTime,
java.util.Collection<Mutation> mutations)
Creates a 'local' batch - with all enclosed mutations in decoded form (as Mutation instances)
|
static Batch |
Batch.createRemote(java.util.UUID id,
long creationTime,
java.util.Collection<java.nio.ByteBuffer> mutations)
Creates a 'remote' batch - with all enclosed mutations in encoded form (as ByteBuffer instances)
The mutations will always be encoded using the current messaging version.
|
Modifier and Type | Method and Description |
---|---|
static void |
BatchlogManager.store(Batch batch) |
static void |
BatchlogManager.store(Batch batch,
boolean durableWrites) |
Modifier and Type | Method and Description |
---|---|
void |
BatchStoreVerbHandler.doVerb(Message<Batch> message) |
Copyright © 2009-2020 The Apache Software Foundation