method

preventing_writes?

preventing_writes?()
public

Determines whether writes are currently being prevented.

Returns true if the connection is a replica or returns the value of current_preventing_writes.