Skip to content

Commit

Permalink
[#279] Added docs for new and purge_stale
Browse files Browse the repository at this point in the history
  • Loading branch information
byrnereese authored and jayallen committed Dec 10, 2009
1 parent eb29622 commit 59db526
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions lib/MT/Memcached.pm
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,12 @@ available methods.
In addition, this class defines the following:
=head2 MT::Memcached->new
A constructor that returns an I<MT::Memcached> object. Probably should
not be invoked directly, better to use the instance method to get a
handle of the singleton.
=head2 MT::Memcached->instance
Returns the singleton object (a I<MT::Memcached> object).
Expand All @@ -113,6 +119,12 @@ configuration and if the I<Cache::Memcached> module can be loaded.
Removes the singleton instance of the class, and disconnects any open
connections to I<memcached>.
=head2 purge_stale
This method simply returns 1 and is in place to fully support the
L<MT::Cache> interface. This function has no purpose in memcache since
memcache manages stale content on the user's behalf.
=head1 AUTHOR & COPYRIGHT
Please see L<MT/AUTHOR & COPYRIGHT>.
Expand Down

0 comments on commit 59db526

Please sign in to comment.