Objectivity for Java Reference

com.objy.db.iapp
Interface PersistentEventInfo

All Known Subinterfaces:
ActivateInfo, DeactivateInfo, PreWriteInfo

public interface PersistentEventInfo

Defines constants that indicate why a persistent event occurred.
Constant Types
Persistent-event reasons
    Specify why a persistent event occurred.
EVENT_COMMIT
EVENT_ABORT
EVENT_CHECKPOINT
EVENT_CHECKPOINT_DOWNGRADE
EVENT_WRITE
EVENT_WRITE_BEFORE_COPY_OBJ
EVENT_FLUSH_FD
EVENT_FLUSH_DB
EVENT_FLUSH_CONTAINER
EVENT_MAX


Field Summary
static int EVENT_ABORT
          Persistent-event reason: The deactivate event occurred because the current transaction was aborted.
static int EVENT_CHECKPOINT
          Persistent-event reason: The pre-write event occurred because of a checkpoint operation with no downgrade of locks.
static int EVENT_CHECKPOINT_DOWNGRADE
          Persistent-event reason: The pre-write event occurred because of a checkpoint operation with write locks downgraded to read locks.
static int EVENT_COMMIT
          Persistent-event reason: The deactivate or pre-write event occurred because the current transaction was committed.
static int EVENT_FLUSH_CONTAINER
          Persistent-event reason: The pre-write event occurred because of a flush operation on a container.
static int EVENT_FLUSH_DB
          Persistent-event reason: The pre-write event occurred because of a flush operation on a database.
static int EVENT_FLUSH_FD
          Persistent-event reason: The pre-write event occurred because of a flush operation on the federated database.
static int EVENT_MAX
          Reserved for internal use.
static int EVENT_WRITE
          Persistent-event reason: The pre-write event occurred because of a call to a persistent object's write method
static int EVENT_WRITE_BEFORE_COPY_OBJ
          Persistent-event reason: The pre-write event occurred because a persistent object had to be written before being copied.
 

Field Detail

EVENT_COMMIT

public static final int EVENT_COMMIT
Persistent-event reason: The deactivate or pre-write event occurred because the current transaction was committed.

EVENT_ABORT

public static final int EVENT_ABORT
Persistent-event reason: The deactivate event occurred because the current transaction was aborted.

EVENT_CHECKPOINT

public static final int EVENT_CHECKPOINT
Persistent-event reason: The pre-write event occurred because of a checkpoint operation with no downgrade of locks.

EVENT_CHECKPOINT_DOWNGRADE

public static final int EVENT_CHECKPOINT_DOWNGRADE
Persistent-event reason: The pre-write event occurred because of a checkpoint operation with write locks downgraded to read locks.

EVENT_WRITE

public static final int EVENT_WRITE
Persistent-event reason: The pre-write event occurred because of a call to a persistent object's write method

EVENT_WRITE_BEFORE_COPY_OBJ

public static final int EVENT_WRITE_BEFORE_COPY_OBJ
Persistent-event reason: The pre-write event occurred because a persistent object had to be written before being copied.

EVENT_FLUSH_FD

public static final int EVENT_FLUSH_FD
Persistent-event reason: The pre-write event occurred because of a flush operation on the federated database.

EVENT_FLUSH_DB

public static final int EVENT_FLUSH_DB
Persistent-event reason: The pre-write event occurred because of a flush operation on a database.

EVENT_FLUSH_CONTAINER

public static final int EVENT_FLUSH_CONTAINER
Persistent-event reason: The pre-write event occurred because of a flush operation on a container.

EVENT_MAX

public static final int EVENT_MAX
Reserved for internal use.

Objectivity for Java Reference

Copyright © 2000 Objectivity, Inc. All rights reserved.