drools-eclipse/org.guvnor.eclipse.webdav/src/kernel/org/eclipse/webdav/internal/kernel/EntityTag.java
public static EntityTag generateEntityTag() {
        String xx = basetime + ":" + Integer.toHexString(Thread.currentThread().hashCode()); //$NON-NLS-1$
        bcnt++;
        xx += ":" + bcnt; //$NON-NLS-1$
        return new EntityTag(xx);
    }
public static EntityTag generateEntityTag() {
        String xx = basetime + ":" + Integer.toHexString(Thread.currentThread().hashCode()); //$NON-NLS-1$
        bcnt++;
        xx += ":" + bcnt; //$NON-NLS-1$
        return new EntityTag(xx);
    }
Construct a unique EntityTag. The tag is constructed by concatening the
current time with the current thread's hash code.

@return a unique entity tag that servers may use for any purpose