C# Class Raven.Storage.Managed.TransactionalStorage

Inheritance: ITransactionalStorage
Mostra file Open project: robashton/ravendb Class Usage Examples

Private Properties

Property Type Description
Batch void
ExecuteBatch StorageActionsAccessor
MaybeOnIdle void

Public Methods

Method Description
ChangeId ( ) : System.Guid
ClearCaches ( ) : void
Compact ( InMemoryRavenConfiguration compactConfiguration ) : void
ComputeDetailedStorageInformation ( ) : IList
DisableBatchNesting ( ) : IDisposable
Dispose ( ) : void
DumpAllStorageTables ( ) : void
EnsureCapacity ( int value ) : void
ExecuteImmediatelyOrRegisterForSynchronization ( System.Action action ) : void
GetDatabaseCacheSizeInBytes ( ) : long
GetDatabaseSizeInBytes ( ) : long
GetDatabaseTransactionVersionSizeInBytes ( ) : long
GetInFlightTransactionalState ( Func put, Func delete ) : InFlightTransactionalState
HandleException ( Exception exception ) : bool
Initialize ( IUuidGenerator generator, OrderedPartCollection documentCodecs ) : bool
Restore ( string backupLocation, string databaseLocation, Action output, bool defrag ) : void
StartBackupOperation ( DocumentDatabase database, string backupDestinationDirectory, bool incrementalBackup, Raven.Abstractions.Data.DatabaseDocument databaseDocument ) : void
TransactionalStorage ( InMemoryRavenConfiguration configuration, System.Action onCommit ) : System
WriteLock ( ) : IDisposable

Private Methods

Method Description
Batch ( Action action ) : void
ExecuteBatch ( Action action ) : StorageActionsAccessor
MaybeOnIdle ( object _ ) : void

Method Details

ChangeId() public method

public ChangeId ( ) : System.Guid
return System.Guid

ClearCaches() public method

public ClearCaches ( ) : void
return void

Compact() public method

public Compact ( InMemoryRavenConfiguration compactConfiguration ) : void
compactConfiguration InMemoryRavenConfiguration
return void

ComputeDetailedStorageInformation() public method

public ComputeDetailedStorageInformation ( ) : IList
return IList

DisableBatchNesting() public method

public DisableBatchNesting ( ) : IDisposable
return IDisposable

Dispose() public method

public Dispose ( ) : void
return void

DumpAllStorageTables() public method

public DumpAllStorageTables ( ) : void
return void

EnsureCapacity() public method

public EnsureCapacity ( int value ) : void
value int
return void

ExecuteImmediatelyOrRegisterForSynchronization() public method

public ExecuteImmediatelyOrRegisterForSynchronization ( System.Action action ) : void
action System.Action
return void

GetDatabaseCacheSizeInBytes() public method

public GetDatabaseCacheSizeInBytes ( ) : long
return long

GetDatabaseSizeInBytes() public method

public GetDatabaseSizeInBytes ( ) : long
return long

GetDatabaseTransactionVersionSizeInBytes() public method

public GetDatabaseTransactionVersionSizeInBytes ( ) : long
return long

GetInFlightTransactionalState() public method

public GetInFlightTransactionalState ( Func put, Func delete ) : InFlightTransactionalState
put Func
delete Func
return InFlightTransactionalState

HandleException() public method

public HandleException ( Exception exception ) : bool
exception System.Exception
return bool

Initialize() public method

public Initialize ( IUuidGenerator generator, OrderedPartCollection documentCodecs ) : bool
generator IUuidGenerator
documentCodecs OrderedPartCollection
return bool

Restore() public method

public Restore ( string backupLocation, string databaseLocation, Action output, bool defrag ) : void
backupLocation string
databaseLocation string
output Action
defrag bool
return void

StartBackupOperation() public method

public StartBackupOperation ( DocumentDatabase database, string backupDestinationDirectory, bool incrementalBackup, Raven.Abstractions.Data.DatabaseDocument databaseDocument ) : void
database DocumentDatabase
backupDestinationDirectory string
incrementalBackup bool
databaseDocument Raven.Abstractions.Data.DatabaseDocument
return void

TransactionalStorage() public method

public TransactionalStorage ( InMemoryRavenConfiguration configuration, System.Action onCommit ) : System
configuration InMemoryRavenConfiguration
onCommit System.Action
return System

WriteLock() public method

public WriteLock ( ) : IDisposable
return IDisposable