docs: public void copyMetaData(EntryInfo entryInfo) {
  
          entryInfo.lock();
  
          if (!entryInfo.wasIdSet()) {
              throw new IllegalStateException("id was not set on entryInfo");
          }
  
          id = entryInfo.id;
          timeLimit = entryInfo.timeLimit;
          inactivity = entryInfo.inactivity;
          expirationTime = entryInfo.expirationTime;
          validatorExpirationTime = entryInfo.validatorExpirationTime;
          priority = entryInfo.priority;
  
          if (priority < 0)
              priority = 0;
  
          if (priority > CacheConfig.MAX_PRIORITY)
              priority = CacheConfig.MAX_PRIORITY;
  
          if (entryInfo.templates.size() > 0) {
              _templates = (String[]) entryInfo.templates.toArray(new String[entryInfo.templates.size()]);
          } else {
              _templates = EMPTY_STRING_ARRAY;
          }
  
          if (entryInfo.dataIds.size() > 0) {
              _dataIds = entryInfo.dataIds.toArray(new Object[entryInfo.dataIds.size()]);
          } else {
              _dataIds = EMPTY_OBJECT_ARRAY;
          }
  
          if (entryInfo.aliasList.size() > 0) {
              aliasList = entryInfo.aliasList.toArray(new Object[entryInfo.aliasList.size()]);
          } else {
              aliasList = EMPTY_OBJECT_ARRAY;
          }
  
          sharingPolicy = entryInfo.sharingPolicy;
          persistToDisk = entryInfo.persistToDisk;
          cacheType = entryInfo.cacheType;
          userMetaData = entryInfo.userMetaData;
          externalCacheGroupId = entryInfo.externalCacheGroupId;
  
          _serializedDataIds = null;
          serializedAliasList = null;
          serializedUserMetaData = null;
          loadedFromDisk = false;
          skipValueSerialized = false;
          skipMemoryAndWriteToDisk = false;
          skipMemoryAndWriteToDiskErrorCode = HTODDynacache.NO_EXCEPTION;
  
      }