public synchronized MetaStore storeConfiguration(Configuration configuration) {
    LOGGER.trace("Store configuration {}", configuration);
    serializer.writeObject(configuration.members(), configurationBuffer.position(0)
      .writeByte(1)
      .writeLong(configuration.index())
      .writeLong(configuration.term())
      .writeLong(configuration.time()));
    configurationBuffer.flush();
    return this;
  }
public synchronized MetaStore storeConfiguration ( Configuration configuration ) { LOGGER . trace ( "Store configuration {}" , configuration ) ; serializer . writeObject ( configuration . members ( ) , configurationBuffer . position ( 0 ) . writeByte ( 1 ) . writeLong ( configuration . index ( ) ) . writeLong ( configuration . term ( ) ) . writeLong ( configuration . time ( ) ) ) ; configurationBuffer . flush ( ) ; return this ; }
Stores the current cluster configuration.

@param configuration The current cluster configuration.
@return The metastore.