-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from flightaware/BCK-2485
BCK 2485 - add 'server clear' command
- Loading branch information
Showing
5 changed files
with
97 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
pkg install databases/libmemcached | ||
#pkg install databases/libmemcached | ||
echo install [email protected]:awesomized/libmemcached.git | ||
|
||
env CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ./configure --with-tcl=/usr/local/lib/tcl8.6 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,9 +14,12 @@ The actual memcached server installation is independent of the | |
installation of this client package and is not addressed by this | ||
document. | ||
|
||
The underlying libmemcached installation recommended is awesomized/libmemcached | ||
because the official libmemcached has not had a release since 2014 and there are | ||
crashing bugs that have had fixes provided that haven't been rolled up into a release. | ||
|
||
On FreeBSD: | ||
* pkg install databases/libmemcached | ||
* install [email protected]:awesomized/libmemcached.git | ||
* env CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ./configure --with-tcl=/usr/local/lib/tcl8.6 | ||
* make | ||
* make install | ||
|
@@ -54,12 +57,16 @@ on success or some other integer error. If the returned value is | |
non-zero then the request failed, and you should not expect any | ||
varname arguments to have been modified. | ||
|
||
Use `memcache strerror` to get a human readable version of the error code. | ||
|
||
|
||
Available Commands | ||
------------------ | ||
|
||
memcache server add hostname port | ||
|
||
memcache server clear | ||
|
||
memcache get key varname ?lengthVar? ?flagsVar? | ||
|
||
memcache add key value ?expires? ?flags? | ||
|
@@ -83,3 +90,5 @@ Available Commands | |
memcache version | ||
|
||
memcache behavior flagname ?flagvalue? | ||
|
||
memcache strerror errorcode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters