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) |
static void |
LegacyBatchlogMigrator.syncWriteToBatchlog(WriteResponseHandler<?> handler,
Batch batch,
java.util.Collection<java.net.InetAddress> endpoints) |
Modifier and Type | Method and Description |
---|---|
void |
BatchStoreVerbHandler.doVerb(MessageIn<Batch> message,
int id) |
Copyright © 2020 The Apache Software Foundation