Java and php memcached data reading problems

Source: Internet
Author: User
The data reading problem between java and php memcached has been the problem of using JAVA to read and write memcached. today, when we connect to the PHP System, we cannot get the elements stored in PHP, however, PHP obtains the elements stored in JAVA. Finally, MemAdmin is installed. check whether the Flag java of the elements stored in PHP and memcached of php read data.
There is no problem with reading and writing memcached using JAVA.
During the connection with the PHP system today, elements stored in PHP are not obtained, but elements stored in JAVA are obtained in PHP.
Finally, MemAdmin is installed. check that the Flags of elements stored in PHP are all 0, while the Flags of the runtime type stored in java are 32. Let PHP modify the stored Flags and solve the problem.
The following types of Flags are included:
public static final int MARKER_BYTE             = 1;public static final int MARKER_BOOLEAN          = 8192;public static final int MARKER_INTEGER          = 4;public static final int MARKER_LONG             = 16384;public static final int MARKER_CHARACTER        = 16;public static final int MARKER_STRING           = 32;public static final int MARKER_STRINGBUFFER     = 64;public static final int MARKER_FLOAT            = 128;public static final int MARKER_SHORT            = 256;public static final int MARKER_DOUBLE           = 512;public static final int MARKER_DATE             = 1024;public static final int MARKER_STRINGBUILDER    = 2048;public static final int MARKER_BYTEARR          = 4096;

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.