Show / Hide Table of Contents

# Class RecoveryFileLogger

##### Inheritance

System.Object
RecoveryFileLogger

##### Implements

IRecoveryLogger

##### Inherited Members

System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()

###### Namespace: Apache.NMS.ActiveMQ.Transactions

###### Assembly: Apache.NMS.ActiveMQ.dll

##### Syntax

    public class RecoveryFileLogger : IRecoveryLogger

### Constructors

| Improve this Doc View Source

#### RecoveryFileLogger()

##### Declaration

    public RecoveryFileLogger()

### Properties

| Improve this Doc View Source

#### AutoCreateLocation

Indiciate that the Logger should create and sibdirs of the given location that don't currently exist.

##### Declaration

    public bool AutoCreateLocation { get; set; }

##### Property Value

Type | Description
--- | ---
System.Boolean |

| Improve this Doc View Source

#### Location

The Path to the location on disk where the recovery log is written to and read from.

##### Declaration

    public string Location { get; set; }

##### Property Value

Type | Description
--- | ---
System.String |

| Improve this Doc View Source

#### LoggerType

##### Declaration

    public string LoggerType { get; }

##### Property Value

Type | Description
--- | ---
System.String |

| Improve this Doc View Source

#### ResourceManagerId

The Unique Id of the Resource Manager that this logger is currently logging recovery information for.

##### Declaration

    public string ResourceManagerId { get; }

##### Property Value

Type | Description
--- | ---
System.String |

### Methods

| Improve this Doc View Source

#### GetRecoverables()

##### Declaration

    public KeyValuePair<XATransactionId, byte[]>[] GetRecoverables()

##### Returns

Type | Description
--- | ---
System.Collections.Generic.KeyValuePair<XATransactionId, System.Byte[]>[] |

| Improve this Doc View Source

#### Initialize(String)

##### Declaration

    public void Initialize(string resourceManagerId)

##### Parameters

Type | Name | Description
--- | --- | ---
System.String | resourceManagerId |

| Improve this Doc View Source

#### LogRecovered(XATransactionId)

##### Declaration

    public void LogRecovered(XATransactionId xid)

##### Parameters

Type | Name | Description
--- | --- | ---
XATransactionId | xid |

| Improve this Doc View Source

#### LogRecoveryInfo(XATransactionId, Byte[])

##### Declaration

    public void LogRecoveryInfo(XATransactionId xid, byte[] recoveryInformation)

##### Parameters

Type | Name | Description
--- | --- | ---
XATransactionId | xid |
System.Byte[] | recoveryInformation |

| Improve this Doc View Source

#### Purge()

##### Declaration

    public void Purge()

### Implements

IRecoveryLogger