1. php: $me = new Memcache(); $me->connect(....); $me->add('abs3',134214,32);

  2. php: $this->Memcached->save('abs',123455,86400);

  3. java Object bar = mcc.get("abs"); System.out.println(">>> " + bar); Error: 13:59:20,338 ERROR [danga.MemCached.MemCachedClient] ++++ exception thrown while trying to get object from cache for key: abs 13:59:20,339 ERROR [danga.MemCached.MemCachedClient] invalid stream header: 31323334 java.io.StreamCorruptedException: invalid stream header: 31323334 at java.io.ObjectInputStream.readStreamHeader(Unknown Source) at java.io.ObjectInputStream.<init>(Unknown Source) at com.schooner.MemCached.ObjectTransCoder.decode(Unknown Source) at com.schooner.MemCached.AscIIClient.get(Unknown Source) at com.schooner.MemCached.AscIIClient.get(Unknown Source) at com.schooner.MemCached.AscIIClient.get(Unknown Source) at com.danga.MemCached.MemCachedClient.get(Unknown Source) at Mallex.Network.MemCached.get(QueueDaemon.java:902) at Mallex.Network.QueueDaemon.main(QueueDaemon.java:198)

    null

  4. java: Object bar = mcc.get("abs3"); System.out.println(">>> " + bar); Success

phalcon not support flag

phalcon notice: /** * Stores cached content into the Memcached backend and stops the frontend * * @param int|string $keyName * @param string $content * @param long $lifetime * @param boolean $stopBuffer */ public function save($keyName=null, $content=null, $lifetime=null, $stopBuffer=null){ }