com.h3c.util.persistence.cassandra.entitymgr.wal

## Class WALgroupOperations

- java.lang.Object
- - com.h3c.util.persistence.cassandra.entitymgr.wal.WALgroupOperations

- All Implemented Interfaces:
    Runnable

      public class WALgroupOperations
      extends Object
      implements Runnable

  Singleton class used to join and remove this instance from WALgroup.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `WALgroupOperations()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `run()`
    `protected void` | `setGroups(Groups groups)` This method is inteded to use only for Junit test.
    `void` | `walCreateAndJoinGrp(com.netflix.astyanax.Keyspace keyspace)` Crate and join WAL group
    `void` | `walLeaveGroup()` Leave WAL group.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### WALgroupOperations

          public WALgroupOperations()

  - ### Method Detail

    - #### walCreateAndJoinGrp

          public void walCreateAndJoinGrp(com.netflix.astyanax.Keyspace keyspace)

      Crate and join WAL group
      Parameters:
        `keyspace` -

    - #### walLeaveGroup

          public void walLeaveGroup()

      Leave WAL group.

    - #### run

          public void run()

      Specified by:
        `run` in interface `Runnable`

    - #### setGroups

          protected void setGroups(Groups groups)

      This method is inteded to use only for Junit test.
      Parameters:
        `groups` - Groups

Copyright © 2014. All Rights Reserved.