Common Lisp Package: WAL

README:

FUNCTION

Public

CLOSE (WAL)

Close write ahead log file.

COMMIT (WAL)

Commit entries. All pending entries are written to master file.

OPEN (MASTER WRITER &KEY (ENTRY-WRITER #'PRINT) (ENTRY-READER #'DEFAULT-ENTRY-READER) (IF-EXISTS OVERWRITE) (IF-DOES-NOT-EXIST ERROR))

Open write ahead log file.

RECOVER (WAL)

Recover master file from write ahead log.

ROLLBACK (WAL)

Rollback enries. Changes are discarded and master file stays untouched.

WRITE (WAL ENTRY)

Write log entry to write ahead log.

Private

OPEN-WAL-STREAM (MASTER IF-EXISTS IF-DOES-NOT-EXIST)

Returns open write ahead log stream.

PENDING-COMMITS-P (WAL)

Returns t if write ahead log has uncommitted entries, nil otherwise.

REDO (WAL)

Write ahead redo policy. Entries in wal are written to master file.

WAL-ENTRIES (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

WAL-ENTRY-READER (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

WAL-ENTRY-WRITER (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

WAL-MASTER (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

WAL-PATHNAME (MASTER)

Returns write ahead log file's pathname. The pathname's base is taken from master stream's pathname.

WAL-STREAM (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

WAL-WRITER (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

Undocumented

CHECKPOINT (WAL)

COPY-WAL (INSTANCE)

DEFAULT-ENTRY-READER (STREAM)

MAKE-WAL (&KEY ((MASTER DUM0) NIL) ((WRITER DUM1) NIL) ((STREAM DUM2) NIL) ((ENTRY-WRITER DUM3) NIL) ((ENTRY-READER DUM4) NIL) ((ENTRIES DUM5) NIL))

SETFWAL-ENTRIES (NEW-VALUE INSTANCE)

SETFWAL-ENTRY-READER (NEW-VALUE INSTANCE)

SETFWAL-ENTRY-WRITER (NEW-VALUE INSTANCE)

SETFWAL-MASTER (NEW-VALUE INSTANCE)

WAL-P (OBJECT)

SETFWAL-STREAM (NEW-VALUE INSTANCE)

SETFWAL-WRITER (NEW-VALUE INSTANCE)

CLASS

Public

Undocumented

WAL