Class: N::Cluster::Slm

Inherits:
SHash show all
Defined in:
lib/nitro/cluster.rb

Overview

Slm Server Last Modified Hash

Instance Attribute Summary

Attributes inherited from SHash

#cdrb, #ldrb, #mon

Instance Method Summary collapse

Methods inherited from SHash

#[], #[]=, #initialize, #old_set, #server_sync

Constructor Details

This class inherits a constructor from N::Cluster::SHash

Instance Method Details

#set!(key, lm = nil) ⇒ Object



189
190
191
192
193
# File 'lib/nitro/cluster.rb', line 189

def set!(key, lm = nil)
	lm = Time.now.to_i unless lm
	self[key] = lm
	return lm
end