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.
|
Batch |
Batch.Serializer.deserialize(DataInputPlus in,
int version) |
Modifier and Type | Method and Description |
---|---|
void |
Batch.Serializer.serialize(Batch batch,
DataOutputPlus out,
int version) |
long |
Batch.Serializer.serializedSize(Batch batch,
int version) |
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-2022 The Apache Software Foundation